jobextra/librewolf/PKGBUILD-aur

42 lines
1.9 KiB
Text
Raw Normal View History

# Maintainer: lsf <lsf at pfho dot net>
2022-03-20 13:34:07 +01:00
pkgname=librewolf-bin
provides=(${pkgname//-bin/""})
conflicts=(${pkgname//-bin/""})
2022-07-09 01:16:10 +02:00
pkgver=102.0
pkgrel=2
2022-03-20 13:34:07 +01:00
pkgdesc="Community-maintained fork of Firefox, focused on privacy, security and freedom."
arch=(x86_64 aarch64)
license=(MPL GPL LGPL)
url="https://librewolf-community.gitlab.io/"
depends=(gtk3 libxt startup-notification mime-types dbus-glib
nss ttf-font libpulse ffmpeg)
2022-03-20 13:34:07 +01:00
optdepends=('networkmanager: Location detection via available WiFi networks'
'libnotify: Notification integration'
'pulseaudio: Audio support'
'speech-dispatcher: Text-to-Speech'
'hunspell-en_US: Spell checking, American English')
validpgpkeys=('031F7104E932F7BD7416E7F6D2845E1305D6E801')
backup=('usr/lib/librewolf/librewolf.cfg'
'usr/lib/librewolf/distribution/policies.json')
options=(!emptydirs)
install='librewolf-bin.install'
_project_id=12875785
_base_url=https://gitlab.com/api/v4/projects/${_project_id}/packages/generic/librewolf/${pkgver}-${pkgrel}
_uploadpath_aarch64=${_base_url}/${pkgname//-bin/""}-${pkgver}-${pkgrel}-aarch64.pkg.tar.zst
_uploadpath_x86_64=${_base_url}/${pkgname//-bin/""}-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst
_uploadpath_sig_aarch64=${_base_url}/${pkgname//-bin/""}-${pkgver}-${pkgrel}-aarch64.pkg.tar.zst.sig
_uploadpath_sig_x86_64=${_base_url}/${pkgname//-bin/""}-${pkgver}-${pkgrel}-x86_64.pkg.tar.zst.sig
source_aarch64=("${_uploadpath_aarch64}" "${_uploadpath_sig_aarch64}")
source_x86_64=("${_uploadpath_x86_64}" "${_uploadpath_sig_x86_64}")
2022-07-09 01:16:10 +02:00
sha256sums_x86_64=('570b3db47c85adea3b2ce895abe223c027bec40b973b431efe26bd7e93e1aaed'
2022-03-20 13:34:07 +01:00
'SKIP')
2022-07-09 01:16:10 +02:00
sha256sums_aarch64=('0d36ddd38bd18ee2c6e8f7fe7269a186f953636f3f718d846d97ae17e3a41633'
2022-03-20 13:34:07 +01:00
'SKIP')
package() {
# Yep, that's somewhat redundant. But it works.
cp -r "${srcdir}"/usr "${pkgdir}"/
}