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
This commit is contained in:
Fiona Klute 2022-09-10 22:17:39 +02:00 committed by Oliver Smith
parent f5fcfe6e56
commit 72784fcf6f
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -1,7 +1,7 @@
# Maintainer: Oliver Smith <ollieparaoid@postmarketos.org>
pkgname=mobile-config-firefox
pkgver=3.0.0
pkgrel=0
pkgrel=1
pkgdesc="Firefox tweaks for mobile and privacy"
url="https://gitlab.com/postmarketOS/mobile-config-firefox"
source="
@ -18,7 +18,8 @@ build() {
}
package() {
make DESTDIR="$pkgdir" install
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