template 885 B

123456789101112131415161718192021222324252627
  1. # Template file for 'librewolf'
  2. pkgname=librewolf
  3. version=138.0.1
  4. revision=2
  5. only_for_archs="x86_64"
  6. hostmakedepends="tar xz"
  7. short_desc="Community-maintained fork of Firefox, focused on privacy, security and freedom."
  8. maintainer="Naz <[email protected]>"
  9. license="MPL-2.0"
  10. homepage="https://librewolf.net/"
  11. distfiles="https://repo.librewolf.net/pool/librewolf-${version}-${revision}-linux-x86_64-deb.deb"
  12. checksum=24c5590d3b1a874add3aa66f50a6b0358cec9c17c6ad27dbc434b0a84b5f9ca5
  13. nostrip=yes
  14. do_extract() {
  15. mkdir -p ${DESTDIR}
  16. ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/librewolf-${version}-${revision}-linux-x86_64-deb.deb
  17. tar xf data.tar.xz -C ${DESTDIR}
  18. }
  19. do_install() {
  20. vcopy ${DESTDIR}/usr/share/librewolf /usr/lib/
  21. ln -sf /usr/lib/librewolf/librewolf ${DESTDIR}/usr/bin/librewolf
  22. # Cleanup up
  23. rm -rf ${DESTDIR}/etc
  24. rm -rf ${DESTDIR}/usr/share/librewolf
  25. }