Last active
January 28, 2017 14:46
-
-
Save Brli/d456f9684f229dafae2484053b4fa35a to your computer and use it in GitHub Desktop.
Firefox-nightly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=Firefox Nightly - Safe Mode | |
GenericName=Web Browser - Safe Mode | |
Icon=/usr/share/pixmaps/firefox-nightly-icon.png | |
Type=Application | |
Categories=Application;Network; | |
MimeType=text/html | |
Encoding=UTF-8 | |
Exec=firefox-nightly -safe-mode %u | |
Terminal=false | |
MultipleArgs=false | |
StartupNotify=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=Firefox Nightly | |
GenericName=Web Browser | |
Icon=/usr/share/pixmaps/firefox-nightly-icon.png | |
Type=Application | |
Categories=Application;Network; | |
MimeType=text/html | |
Encoding=UTF-8 | |
Exec=firefox-nightly %u | |
Terminal=false | |
MultipleArgs=false | |
StartupNotify=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer : Kyriakos Brastianos <kyriakosbrastianos @ gmail.com> | |
# Contributor: danyf90 <daniele.formichelli@gmail.com> | |
_pkgname=firefox | |
_channel=nightly | |
_pkgver=54.0a1 | |
pkgname=${_pkgname}-${_channel} | |
pkgver=54.0a1.20170128110338 | |
pkgrel=1 | |
pkgdesc='Standalone web browser from mozilla.org, nightly build' | |
url='http://www.mozilla.org/projects/firefox' | |
screenshot="http://people.mozilla.org/~shorlander/blog-images/australis-linux.png" | |
arch=('x86_64') | |
license=('MPL' 'GPL' 'LGPL') | |
depends=('alsa-lib' 'libxt' 'libnotify' 'mime-types' 'nss' 'gtk2' 'gtk3' 'sqlite3' 'dbus-glib') | |
provides=("firefox=$_pkgver") | |
_srcurl="https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central" | |
_file="${_pkgname}-${_pkgver}.zh-TW.linux" | |
_srcsum="$(curl -s "${_srcurl}-l10n/${_file}-x86_64.checksums" | grep "${_file}-x86_64.tar.bz2" | grep sha512 | cut -d " " -f1)" | |
source=("${_srcurl}/${_file}-x86_64.tar.bz2"{,.asc} | |
"$pkgname.desktop" | |
"$pkgname-safe.desktop" | |
'vendor.js') | |
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353') | |
sha512sums=("${_srcsum}" | |
'SKIP' | |
'8591fdea03adac7f2a52bc10631730a2bbc15e1d5f254768fb161176ad8fe1059f253bcb8fa17d8d63ca3c27f0580520c7ebfc4415ffd7061cc479b3a369d659' | |
'dadbd2daaaf6470f62a4f847a9c9ef9e171eb7359113c47f9d31cf100475d48422aca6a236c9ee7a996971d867ed421c7079bd2b069aef12c6745663092b1e38' | |
'22fbb021d907e17ad2c7726b06bfb7e95c0607f822e6e602203cebdddd186c1060f7552a46dfa485ac565423f1857695cee205dae703c0827453d7c93a371843') | |
pkgver() { | |
printf "%s.%s" $_pkgver $(curl -s $_srcurl/firefox-${_pkgver}.en-US.linux-${CARCH}.txt | head -n1) | |
} | |
package() { | |
cd $srcdir | |
install -d $pkgdir/{opt,usr/{bin,share/applications}} | |
cp -r firefox $pkgdir/opt/firefox-nightly | |
ln -s /opt/firefox-nightly/firefox $pkgdir/usr/bin/firefox-nightly | |
install -Dm644 $srcdir/{$pkgname.desktop,$pkgname-safe.desktop} $pkgdir/usr/share/applications/ | |
install -Dm644 $srcdir/firefox/browser/icons/mozicon128.png $pkgdir/usr/share/pixmaps/$pkgname-icon.png | |
install -Dm644 "${srcdir}/vendor.js" "${pkgdir}/opt/firefox-nightly/browser/defaults/preferences/vendor.js" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Disable update check | |
pref("app.update.enabled", false); | |
pref("browser.shell.checkDefaultBrowser", false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment