Skip to content

Instantly share code, notes, and snippets.

@grawlinson grawlinson/package.diff Secret
Last active Aug 2, 2018

Embed
What would you like to do?
firefox-nightly-en-gb -> policies.json replaces vendor.js
diff --git a/.SRCINFO b/.SRCINFO
index 946f23b..96f88a1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = firefox-nightly-en-gb
pkgdesc = Standalone Web Browser from Mozilla — Nightly build (en-GB)
- pkgver = 63.0a1.20180626.100238
+ pkgver = 63.0a1.20180801.223951
pkgrel = 1
url = https://www.mozilla.org/en-GB/firefox/nightly
arch = i686
@@ -24,13 +24,13 @@ pkgbase = firefox-nightly-en-gb
optdepends = startup-notification: support for FreeDesktop Startup Notification
conflicts = firefox-nightly
source = firefox-nightly.desktop
- source = vendor.js
- source = 20180626-100238-firefox-63.0a1.en-GB.linux-x86_64.tar.bz2::https://ftp.mozilla.org/pub/firefox/nightly/2018/06/2018-06-26-10-02-38-mozilla-central-l10n/firefox-63.0a1.en-GB.linux-x86_64.tar.bz2
- source = 20180626-100238-firefox-63.0a1.en-GB.linux-x86_64.tar.bz2.asc::https://ftp.mozilla.org/pub/firefox/nightly/2018/06/2018-06-26-10-02-38-mozilla-central-l10n/firefox-63.0a1.en-GB.linux-x86_64.tar.bz2.asc
+ source = policies.json
+ source = 20180801-223951-firefox-63.0a1.en-GB.linux-x86_64.tar.bz2::https://ftp.mozilla.org/pub/firefox/nightly/2018/08/2018-08-01-22-39-51-mozilla-central-l10n/firefox-63.0a1.en-GB.linux-x86_64.tar.bz2
+ source = 20180801-223951-firefox-63.0a1.en-GB.linux-x86_64.tar.bz2.asc::https://ftp.mozilla.org/pub/firefox/nightly/2018/08/2018-08-01-22-39-51-mozilla-central-l10n/firefox-63.0a1.en-GB.linux-x86_64.tar.bz2.asc
validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353
sha512sums = b514abafc559ec03a4222442fa4306db257c3de9e18ed91a0b37cc9d7058a8e08a241442e54a67659a3ab4512a5dae6a0b94ea7a33d08ef0b8a76a9eac902095
- sha512sums = bae5a952d9b92e7a0ccc82f2caac3578e0368ea6676f0a4bc69d3ce276ef4f70802888f882dda53f9eb8e52911fb31e09ef497188bcd630762e1c0f5293cc010
- sha512sums = SKIP
+ sha512sums = ef494fa96097dfdb14175f44169d324806d8d6bb1d029b7b6cf40f4630474cd6605f79c747654c7362f9ee562fa921afe4776c906a6ec718f54f8bc37817a8f1
+ sha512sums = eff03f6936f71c9cc29ff01149924b3bd560515566f48f1d55961628f7e6f0a0c79c2031d380efaa51bf809b7b3f0fa21a57ea2bc6b6048423757055eed67a34
sha512sums = SKIP
pkgname = firefox-nightly-en-gb
diff --git a/PKGBUILD b/PKGBUILD
index a07ca3a..9eecb58 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -44,15 +44,13 @@ _url="https://ftp.mozilla.org/pub/${_name}/${_channel}/${_build_id[year]}/${_bui
_src="${_name}-${_version}.${_lang}.linux-${CARCH}"
_filename="${_build_id[date]}-${_build_id[time]}-${_src}"
source=('firefox-nightly.desktop'
- 'vendor.js'
+ 'policies.json'
"${_filename}.tar.bz2"::"${_url}/${_src}.tar.bz2"
"${_filename}.tar.bz2.asc"::"${_url}/${_src}.tar.bz2.asc")
-sha512sums=(
- 'b514abafc559ec03a4222442fa4306db257c3de9e18ed91a0b37cc9d7058a8e08a241442e54a67659a3ab4512a5dae6a0b94ea7a33d08ef0b8a76a9eac902095'
- 'bae5a952d9b92e7a0ccc82f2caac3578e0368ea6676f0a4bc69d3ce276ef4f70802888f882dda53f9eb8e52911fb31e09ef497188bcd630762e1c0f5293cc010'
- 'SKIP'
- 'SKIP'
-)
+sha512sums=('b514abafc559ec03a4222442fa4306db257c3de9e18ed91a0b37cc9d7058a8e08a241442e54a67659a3ab4512a5dae6a0b94ea7a33d08ef0b8a76a9eac902095'
+ 'ef494fa96097dfdb14175f44169d324806d8d6bb1d029b7b6cf40f4630474cd6605f79c747654c7362f9ee562fa921afe4776c906a6ec718f54f8bc37817a8f1'
+ 'eff03f6936f71c9cc29ff01149924b3bd560515566f48f1d55961628f7e6f0a0c79c2031d380efaa51bf809b7b3f0fa21a57ea2bc6b6048423757055eed67a34'
+ 'SKIP')
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla’s GnuPG release key
package() {
@@ -75,7 +73,7 @@ package() {
done
# Disable auto-updates
- install -Dm644 "${srcdir}"/vendor.js -t "${pkgdir}"/${OPT_PATH}/browser/defaults/preferences
+ install -Dm644 "${srcdir}"/policies.json -t "${pkgdir}"/${OPT_PATH}/distribution
# Use system-provided dictionaries
rm -rf "${pkgdir}"/${OPT_PATH}/{dictionaries,hyphenation}
diff --git a/vendor.js b/vendor.js
deleted file mode 100644
index caa38c6..0000000
--- a/vendor.js
+++ /dev/null
@@ -1,2 +0,0 @@
-// Disable update check
-pref("app.update.enabled", false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.