template 988 B

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