1234567891011121314151617181920212223242526272829303132 |
- # Template file for 'librewolf'
- pkgname=librewolf
- version=138.0.4
- rev=1
- revision=1
- only_for_archs="x86_64"
- hostmakedepends="tar xz"
- short_desc="Community-maintained fork of Firefox, focused on privacy, security and freedom."
- maintainer="Naz <[email protected]>"
- license="MPL-2.0"
- homepage="https://librewolf.net/"
- distfiles="https://repo.librewolf.net/pool/librewolf-${version}-${rev}-linux-x86_64-deb.deb"
- checksum=9b850d9b0ae780f2490e2235fa1f8f81ea6fad86e9068cacf33c52f670c1f927
- nostrip=yes
- do_extract() {
- mkdir -p ${DESTDIR}
- ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/librewolf-${version}-${rev}-linux-x86_64-deb.deb
- tar xf data.tar.xz -C ${DESTDIR}
- }
- do_install() {
- vcopy ${DESTDIR}/usr/share/librewolf /usr/lib/
- ln -sf /usr/lib/librewolf/librewolf ${DESTDIR}/usr/bin/librewolf
- vmkdir usr/share/applications
- vinstall "${FILESDIR}/librewolf.desktop" 644 usr/share/applications
- # Cleanup up
- rm -rf ${DESTDIR}/etc
- rm -rf ${DESTDIR}/usr/share/librewolf
- }
|