mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/firefox to 70.0.1-1
This commit is contained in:
parent
cc92e35892
commit
11252354ed
1 changed files with 22 additions and 17 deletions
|
@ -11,7 +11,7 @@ highmem=1
|
|||
noautobuild=1
|
||||
|
||||
pkgname=firefox
|
||||
pkgver=70.0
|
||||
pkgver=70.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Standalone web browser from mozilla.org"
|
||||
arch=(x86_64)
|
||||
|
@ -33,15 +33,14 @@ source=(https://archive.mozilla.org/pub/firefox/releases/$pkgver/source/firefox-
|
|||
arm.patch
|
||||
build-arm-libopus.patch
|
||||
0001-Use-remoting-name-for-GDK-application-names.patch
|
||||
$pkgname.desktop firefox-symbolic.svg)
|
||||
sha256sums=('cd9f2902753831c07c4b2ee64f7826f33ca1123add6440dc34abe3ff173a0cc6'
|
||||
$pkgname.desktop)
|
||||
sha256sums=('f2e9bb26af7682b31e82fdfc3a4b3e04fd1caa8b004469ea608185d33e35691b'
|
||||
'SKIP'
|
||||
'2dc9d1aa5eb7798c89f46478f254ae61e4122b4d1956d6044426288627d8a014'
|
||||
'bc00516032330760444939c516a60c78f868631e1b37f075f0fe71a53737b966'
|
||||
'2d4d91f7e35d0860225084e37ec320ca6cae669f6c9c8fe7735cdbd542e3a7c9'
|
||||
'ab07ab26617ff76fce68e07c66b8aa9b96c2d3e5b5517e51a3c3eac2edd88894'
|
||||
'a9e5264257041c0b968425b5c97436ba48e8d294e1a0f02c59c35461ea245c33'
|
||||
'9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797')
|
||||
'a9e5264257041c0b968425b5c97436ba48e8d294e1a0f02c59c35461ea245c33')
|
||||
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla Software Releases <release@mozilla.com>
|
||||
|
||||
# Google API keys (see http://www.chromium.org/developers/how-tos/api-keys)
|
||||
|
@ -152,8 +151,8 @@ package() {
|
|||
cd firefox-$pkgver
|
||||
DESTDIR="$pkgdir" ./mach install
|
||||
|
||||
_vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"
|
||||
install -Dm644 /dev/stdin "$_vendorjs" <<END
|
||||
local vendorjs="$pkgdir/usr/lib/$pkgname/browser/defaults/preferences/vendor.js"
|
||||
install -Dvm644 /dev/stdin "$vendorjs" <<END
|
||||
// Use LANG environment variable to choose locale
|
||||
pref("intl.locale.requested", "");
|
||||
|
||||
|
@ -168,8 +167,8 @@ pref("extensions.autoDisableScopes", 11);
|
|||
pref("extensions.shownSelectionUI", true);
|
||||
END
|
||||
|
||||
_distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"
|
||||
install -Dm644 /dev/stdin "$_distini" <<END
|
||||
local distini="$pkgdir/usr/lib/$pkgname/distribution/distribution.ini"
|
||||
install -Dvm644 /dev/stdin "$distini" <<END
|
||||
[Global]
|
||||
id=archlinux
|
||||
version=1.0
|
||||
|
@ -181,30 +180,36 @@ app.distributor.channel=$pkgname
|
|||
app.partner.archlinux=archlinux
|
||||
END
|
||||
|
||||
local i
|
||||
for i in 16 22 24 32 48 64 128 256; do
|
||||
install -Dm644 browser/branding/official/default$i.png \
|
||||
install -Dvm644 browser/branding/official/default$i.png \
|
||||
"$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/$pkgname.png"
|
||||
done
|
||||
install -Dm644 browser/branding/official/content/about-logo.png \
|
||||
install -Dvm644 browser/branding/official/content/about-logo.png \
|
||||
"$pkgdir/usr/share/icons/hicolor/192x192/apps/$pkgname.png"
|
||||
install -Dm644 browser/branding/official/content/about-logo@2x.png \
|
||||
install -Dvm644 browser/branding/official/content/about-logo@2x.png \
|
||||
"$pkgdir/usr/share/icons/hicolor/384x384/apps/$pkgname.png"
|
||||
install -Dm644 ../firefox-symbolic.svg \
|
||||
install -Dvm644 browser/branding/official/content/identity-icons-brand.svg \
|
||||
"$pkgdir/usr/share/icons/hicolor/symbolic/apps/$pkgname-symbolic.svg"
|
||||
|
||||
install -Dm644 ../$pkgname.desktop \
|
||||
install -Dvm644 ../$pkgname.desktop \
|
||||
"$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||
|
||||
# Install a wrapper to avoid confusion about binary path
|
||||
install -Dm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
|
||||
install -Dvm755 /dev/stdin "$pkgdir/usr/bin/$pkgname" <<END
|
||||
#!/bin/sh
|
||||
exec /usr/lib/$pkgname/firefox "\$@"
|
||||
END
|
||||
|
||||
# Replace duplicate binary with wrapper
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=658850
|
||||
ln -srf "$pkgdir/usr/bin/$pkgname" \
|
||||
"$pkgdir/usr/lib/$pkgname/firefox-bin"
|
||||
ln -srfv "$pkgdir/usr/bin/$pkgname" "$pkgdir/usr/lib/$pkgname/firefox-bin"
|
||||
|
||||
# Use system certificates
|
||||
local nssckbi="$pkgdir/usr/lib/$pkgname/libnssckbi.so"
|
||||
if [[ -e $nssckbi ]]; then
|
||||
ln -srfv "$pkgdir/usr/lib/libnssckbi.so" "$nssckbi"
|
||||
fi
|
||||
|
||||
if [[ -f "$startdir/.crash-stats-api.token" ]]; then
|
||||
find . -name '*crashreporter-symbols-full.zip' -exec \
|
||||
|
|
Loading…
Reference in a new issue