From c7b204cbcd0a5883c0dd369b52694cafa01b72c6 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 11 Feb 2019 13:32:58 -0800 Subject: Use $pkgname more | vendor.js updates for 65 | Remove some warning notices from builds --- PKGBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 9972d72..888bfec 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -32,15 +32,15 @@ optdepends=('networkmanager: Location detection via available WiFi networks' 'speech-dispatcher: Text-to-Speech' 'hunspell-en_CA: Spell checking, Canadian English') options=(!emptydirs !makeflags) -source=(firefox-$pkgver.tar.bz2::https://hg.mozilla.org/releases/mozilla-release/archive/FIREFOX_${bz2ver}_RELEASE.tar.bz2 - $pkgname.desktop firefox-symbolic.svg +source=($pkgname-$pkgver.tar.bz2::https://hg.mozilla.org/releases/mozilla-release/archive/FIREFOX_${bz2ver}_RELEASE.tar.bz2 + $pkgname.desktop $pkgname-symbolic.svg vendor.js moz.configure.diff package-manifest.diff) sha256sums=('5f1f27aa004d94504993e18e2a96edebd0178c7da9f9c00474dda468bb876759' '677e1bde4c6b3cff114345c211805c7c43085038ca0505718a11e96432e9811a' '9a1a572dc88014882d54ba2d3079a1cf5b28fa03c5976ed2cb763c93dabbd797' - '5cc920b4f229af826a75b3234563174f2477be9b2aee585fd30a7389ef7be35d' + '1db31c55df4e45d9f0d2fafaa0a6ea8bc29bf9fb709d3937b1bb6c48b707e756' 'ad8a270e1b2affb098440f82517c3952207b28ebf604fef695dad3e29a5ba30e' '927e400d6920b98d2fe7db2b6498f195135909a76e0da49441223956364d8227') @@ -130,6 +130,13 @@ END # Remove @RESPATH@/browser/features/* to prevent system addons from being part of the output package. patch -p0 $srcdir/mozilla-release-FIREFOX_${bz2ver}_RELEASE/browser/installer/package-manifest.in $srcdir/package-manifest.diff + # Hide mobile promo + echo ".fxaMobilePromo { display: none !important; }" >> browser/themes/shared/incontentprefs/preferences.inc.css + # Hide plugindeprecation-notice + echo "#plugindeprecation-notice { display: none !important; }" >> toolkit/mozapps/extensions/content/extensions.css + # Hide warnings on unsigned extensions + echo ".warning{display: none!important; } .addon[notification=warning]{background-image: none!important;}" >> toolkit/mozapps/extensions/content/extensions.css + } @@ -178,7 +185,7 @@ END "$pkgdir/usr/share/icons/hicolor/192x192/apps/$pkgname.png" install -Dm644 browser/branding/official/content/about-logo@2x.png \ "$pkgdir/usr/share/icons/hicolor/384x384/apps/$pkgname.png" - install -Dm644 ../firefox-symbolic.svg \ + install -Dm644 ../$pkgname-symbolic.svg \ "$pkgdir/usr/share/icons/hicolor/symbolic/apps/$pkgname-symbolic.svg" install -Dm644 ../$pkgname.desktop \ -- cgit v1.2.1