diff options
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 38 | ||||
-rw-r--r-- | firefox-nightly-eo.desktop | 10 | ||||
-rw-r--r-- | policies.json | 5 |
4 files changed, 41 insertions, 33 deletions
@@ -1,6 +1,6 @@ pkgbase = firefox-nightly-eo pkgdesc = Standalone Web Browser from Mozilla — Nightly build (eo) - pkgver = 63.0a1.20180710 + pkgver = 64.0a1.20180712 pkgrel = 1 url = https://www.mozilla.org/eo/firefox/nightly arch = i686 @@ -15,7 +15,6 @@ pkgbase = firefox-nightly-eo depends = mime-types optdepends = pulseaudio: audio support optdepends = ffmpeg: h.264 video - optdepends = gtk2: flash plugin support optdepends = hunspell: spell checking optdepends = hyphen: hyphenation optdepends = libnotify: notification integration @@ -23,16 +22,20 @@ pkgbase = firefox-nightly-eo optdepends = speech-dispatcher: text-to-speech optdepends = startup-notification: support for FreeDesktop Startup Notification source = firefox-nightly-eo.desktop - source = vendor.js + source = policies.json validpgpkeys = 14F26682D0916CDD81E37B6D61B7B526D98F0353 - sha512sums = ba6d165fb119de50d1105614ed063c26e4d3a8877cbab2a71e875458209218ade173dacdae2f06bf66dba39ebc005f371d74d68baa0c8bc7dbdd23ded077eee6 - sha512sums = bae5a952d9b92e7a0ccc82f2caac3578e0368ea6676f0a4bc69d3ce276ef4f70802888f882dda53f9eb8e52911fb31e09ef497188bcd630762e1c0f5293cc010 - source_i686 = https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/firefox-63.0a1.eo.linux-i686.tar.bz2 - source_i686 = https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-63.0a1.en-US.linux-i686.txt + sha512sums = 252337cd79c4e5b38230523de57b83759d7ebc83e9b17052e2b159174b04121774100ceb5b6099cede910c9df5cc0473589561a73ff55be8535e9a1d0bf3727e + sha512sums = 5ed67bde39175d4d10d50ba5b12063961e725e94948eadb354c0588b30d3f97d2178b66c1af466a6e7bd208ab694227a1391c4141f88d3da1a1178454eba5308 + source_i686 = 20180912-firefox-64.0a1.eo.linux-i686.tar.bz2::https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central-l10n/firefox-64.0a1.eo.linux-i686.tar.bz2 + source_i686 = 20180912-firefox-64.0a1.eo.linux-i686.tar.bz2.asc::https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central-l10n/firefox-64.0a1.eo.linux-i686.tar.bz2.asc + source_i686 = 20180912-firefox-64.0a1.eo.linux-i686.txt::https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central/firefox-64.0a1.en-US.linux-i686.txt sha512sums_i686 = SKIP sha512sums_i686 = SKIP - source_x86_64 = https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/firefox-63.0a1.eo.linux-x86_64.tar.bz2 - source_x86_64 = https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central/firefox-63.0a1.en-US.linux-x86_64.txt + sha512sums_i686 = SKIP + source_x86_64 = 20180912-firefox-64.0a1.eo.linux-x86_64.tar.bz2::https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central-l10n/firefox-64.0a1.eo.linux-x86_64.tar.bz2 + source_x86_64 = 20180912-firefox-64.0a1.eo.linux-x86_64.tar.bz2.asc::https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central-l10n/firefox-64.0a1.eo.linux-x86_64.tar.bz2.asc + source_x86_64 = 20180912-firefox-64.0a1.eo.linux-x86_64.txt::https://download-installer.cdn.mozilla.net/pub/firefox/nightly/latest-mozilla-central/firefox-64.0a1.en-US.linux-x86_64.txt + sha512sums_x86_64 = SKIP sha512sums_x86_64 = SKIP sha512sums_x86_64 = SKIP @@ -8,40 +8,40 @@ _lang=eo pkgname=${_name}-${_channel}-${_lang} pkgdesc="Standalone Web Browser from Mozilla — Nightly build (${_lang})" url="https://www.mozilla.org/${_lang}/${_name}/${_channel}" -_version=63.0a1 -pkgver=63.0a1.20180710 +_version=64.0a1 +pkgver=64.0a1.20180712 pkgrel=1 arch=('i686' 'x86_64') license=('MPL' 'GPL' 'LGPL') depends=('dbus-glib' 'gtk3' 'libxt' 'nss' 'mime-types') optdepends=('pulseaudio: audio support' 'ffmpeg: h.264 video' - 'gtk2: flash plugin support' 'hunspell: spell checking' 'hyphen: hyphenation' 'libnotify: notification integration' 'networkmanager: location detection via available WiFi networks' 'speech-dispatcher: text-to-speech' 'startup-notification: support for FreeDesktop Startup Notification') -_url="https://ftp.mozilla.org/pub/${_name}/${_channel}/latest-mozilla-central-l10n" -_urlUS="https://ftp.mozilla.org/pub/${_name}/${_channel}/latest-mozilla-central" +_url="https://download-installer.cdn.mozilla.net/pub/${_name}/${_channel}/latest-mozilla-central-l10n" +_urlUS="https://download-installer.cdn.mozilla.net/pub/${_name}/${_channel}/latest-mozilla-central" _src="${_name}-${_version}.${_lang}.linux" _srcUS="${_name}-${_version}.en-US.linux" -source=("${pkgname}.desktop" 'vendor.js') -# source_i686=("${_url}/${_src}-i686.tar.bz2"{,.asc} "${_urlUS}/${_srcUS}-i686.txt") -# source_x86_64=("${_url}/${_src}-x86_64.tar.bz2"{,.asc} "${_urlUS}/${_srcUS}-x86_64.txt") -source_i686=("${_url}/${_src}-i686.tar.bz2" "${_urlUS}/${_srcUS}-i686.txt") -source_x86_64=("${_url}/${_src}-x86_64.tar.bz2" "${_urlUS}/${_srcUS}-x86_64.txt") -sha512sums=('ba6d165fb119de50d1105614ed063c26e4d3a8877cbab2a71e875458209218ade173dacdae2f06bf66dba39ebc005f371d74d68baa0c8bc7dbdd23ded077eee6' - 'bae5a952d9b92e7a0ccc82f2caac3578e0368ea6676f0a4bc69d3ce276ef4f70802888f882dda53f9eb8e52911fb31e09ef497188bcd630762e1c0f5293cc010') -# sha512sums_i686=('SKIP' 'SKIP' 'SKIP') -# sha512sums_x86_64=('SKIP' 'SKIP' 'SKIP') -sha512sums_i686=('SKIP' 'SKIP') -sha512sums_x86_64=('SKIP' 'SKIP') -validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla's GnuPG release key +_filename="$(date +%Y%m%d)-${_src}" +source=("${pkgname}.desktop" 'policies.json') +source_i686=("${_filename}-i686.tar.bz2"::"${_url}/${_src}-i686.tar.bz2" + "${_filename}-i686.tar.bz2.asc"::"${_url}/${_src}-i686.tar.bz2.asc" + "${_filename}-i686.txt"::"${_urlUS}/${_srcUS}-i686.txt") +source_x86_64=("${_filename}-x86_64.tar.bz2"::"${_url}/${_src}-x86_64.tar.bz2" + "${_filename}-x86_64.tar.bz2.asc"::"${_url}/${_src}-x86_64.tar.bz2.asc" + "${_filename}-x86_64.txt"::"${_urlUS}/${_srcUS}-x86_64.txt") +sha512sums=('252337cd79c4e5b38230523de57b83759d7ebc83e9b17052e2b159174b04121774100ceb5b6099cede910c9df5cc0473589561a73ff55be8535e9a1d0bf3727e' + '5ed67bde39175d4d10d50ba5b12063961e725e94948eadb354c0588b30d3f97d2178b66c1af466a6e7bd208ab694227a1391c4141f88d3da1a1178454eba5308') +sha512sums_i686=('SKIP' 'SKIP' 'SKIP') +sha512sums_x86_64=('SKIP' 'SKIP' 'SKIP') +validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') # Mozilla’s GnuPG release key pkgver() { - echo "${_version}.$(head -n1 ${_srcUS}-${CARCH}.txt | cut -c-8)" + echo "${_version}.$(head -n1 ${_filename}-${CARCH}.txt | cut -c-8)" } package() { @@ -64,7 +64,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/firefox-nightly-eo.desktop b/firefox-nightly-eo.desktop index 38589c9dbe3b..409dc0214153 100644 --- a/firefox-nightly-eo.desktop +++ b/firefox-nightly-eo.desktop @@ -83,14 +83,14 @@ Comment[uk]=Перегляд сторінок Інтернету Comment[vi]=Để duyệt các trang web Comment[zh_CN]=浏览互联网 Comment[zh_TW]=瀏覽網際網路 -Exec=firefox-nightly-it --class=FirefoxNightly %u +Exec=/opt/firefox-nightly-it/firefox %u Icon=firefox-nightly-it Terminal=false X-MultipleArgs=false Type=Application MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/vnd.mozilla.xul+xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;text/mml; StartupNotify=true -StartupWMClass=FirefoxNightly +StartupWMClass=Nightly Categories=GNOME;GTK;Network;WebBrowser; Keywords=Internet;WWW;Browser;Web;Explorer Keywords[eo]=Internet;WWW;Browser;Web;Explorer;Interreto;Retumilo;Fajrfokso;Retumo;TTT; @@ -102,7 +102,7 @@ Name=Profile Manager Name[eo]=Mastrumilo de profiloj Name[fr]=Gestionnaire de profil Name[it]=Gestore dei profili -Exec=firefox-nightly-it --class=FirefoxNightly -P +Exec=/opt/firefox-nightly/firefox -P [Desktop Action new-window] Name=New Window @@ -210,7 +210,7 @@ Name[wo]=Palanteer bu bees Name[xh]=Ifestile entsha Name[zh_CN]=新建窗口 Name[zh_TW]=開新視窗 -Exec=firefox-nightly-it --class=FirefoxNightly --new-window %u +Exec=/opt/firefox-nightly/firefox --new-window %u [Desktop Action new-private-window] Name=New Private Window @@ -318,4 +318,4 @@ Name[wo]=Panlanteeru biir bu bees Name[xh]=Ifestile yangasese entsha Name[zh_CN]=新建隐私浏览窗口 Name[zh_TW]=新增隱私視窗 -Exec=firefox-nightly-it --class=FirefoxNightly --private-window %u +Exec=/opt/firefox-nightly/firefox --private-window %u diff --git a/policies.json b/policies.json new file mode 100644 index 000000000000..f36622021fcd --- /dev/null +++ b/policies.json @@ -0,0 +1,5 @@ +{ + "policies": { + "DisableAppUpdate": true + } +} |