[arch-commits] Commit in firefox/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Wed Mar 22 23:56:53 UTC 2017


    Date: Wednesday, March 22, 2017 @ 23:56:52
  Author: heftig
Revision: 291228

52.0.1-2

Modified:
  firefox/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-22 23:00:19 UTC (rev 291227)
+++ PKGBUILD	2017-03-22 23:56:52 UTC (rev 291228)
@@ -5,7 +5,7 @@
 
 pkgname=firefox
 pkgver=52.0.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Standalone web browser from mozilla.org"
 arch=(i686 x86_64)
 license=(MPL GPL LGPL)
@@ -69,6 +69,7 @@
 # Branding
 ac_add_options --enable-official-branding
 ac_add_options --enable-update-channel=release
+ac_add_options --with-distribution-id=org.archlinux
 export MOZILLA_OFFICIAL=1
 export MOZ_TELEMETRY_REPORTING=1
 export MOZ_SOURCE_REPO=${_repo at Q}
@@ -140,6 +141,19 @@
 pref("browser.tabs.remote.autostart", true);
 END
 
+  _distini="$pkgdir/usr/lib/firefox/distribution/distribution.ini"
+  install -Dm644 /dev/stdin "$_distini" <<END
+[Global]
+id=archlinux
+version=1.0
+about=Mozilla Firefox for Arch Linux
+
+[Preferences]
+app.distributor=archlinux
+app.distributor.channel=$pkgname
+app.partner.archlinux=archlinux
+END
+
   for i in 16 22 24 32 48 256; do
     install -Dm644 browser/branding/official/default$i.png \
       "$pkgdir/usr/share/icons/hicolor/${i}x${i}/apps/firefox.png"


More information about the arch-commits mailing list