pmaports/main/mobile-config-firefox/APKBUILD
Fiona Klute 72784fcf6f
main/mobile-config-firefox: Fix firefox-esr >= 102.2.0-r1 (MR 3417)
The firefox-esr package in versions >= 102.2.0-r1 installs to
/usr/lib/firefox-esr instead of /usr/lib/firefox, adjust FIREFOX_DIR
to match. Install for both firefox-esr and firefox now.

[ci:skip-build]: already built successfully in CI
2022-09-11 18:00:00 +02:00

26 lines
837 B
Text

# Maintainer: Oliver Smith <ollieparaoid@postmarketos.org>
pkgname=mobile-config-firefox
pkgver=3.0.0
pkgrel=1
pkgdesc="Firefox tweaks for mobile and privacy"
url="https://gitlab.com/postmarketOS/mobile-config-firefox"
source="
https://gitlab.com/postmarketOS/mobile-config-firefox/-/archive/$pkgver/mobile-config-firefox-$pkgver.tar.bz2
"
arch="noarch"
license="GPL-3.0-or-later"
options="!check" # No tests
replaces="postmarketos-config-firefox"
provides="postmarketos-config-firefox=$pkgver"
build() {
make
}
package() {
make DESTDIR="$pkgdir" FIREFOX_DIR=/usr/lib/firefox install
make DESTDIR="$pkgdir" FIREFOX_DIR=/usr/lib/firefox-esr install
}
sha512sums="
b93052c8047bc91cc7a12d4e33f035bf01f5357e0e09a46c4b0984ad750957da621407245859f96513c1623baeed7e2366285c69c85969572605dcd8c3074173 mobile-config-firefox-3.0.0.tar.bz2
"