template 883 B

123456789101112131415161718192021222324252627
  1. # Template file for 'librewolf'
  2. pkgname=librewolf
  3. version=134.0
  4. revision=1
  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=f3390f71c88d8563159a78dc77cbb17578aef55c020ee98acb6a2e5e1711ba08
  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. }