summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIván Ruvalcaba2017-04-24 13:32:01 -0500
committerIván Ruvalcaba2017-04-24 13:32:01 -0500
commit80abaf8b90af3280ae69018448306f419c9f43a4 (patch)
tree3b595944431ffb9efb3f9ac17f080960ac1311de
parentaf043a621a587b80bb09dfbf34889ea12243665a (diff)
downloadaur-80abaf8b90af3280ae69018448306f419c9f43a4.tar.gz
Improve package
-rw-r--r--PKGBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 24cd84743cd..a2dee214abd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,7 +23,8 @@ _srcurl="https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-
_srcurl_l10n="${_srcurl}-l10n"
source=(
'firefox-nightly.desktop' 'firefox-nightly-safe.desktop' 'vendor.js'
- "${_srcurl_l10n}/${_file_l10n}-${CARCH}.tar.bz2" "${_srcurl}/${_file}-${CARCH}.txt")
+ "${_srcurl_l10n}/${_file_l10n}-${CARCH}.tar.bz2"
+ "${_srcurl}/${_file}-${CARCH}.txt")
sha512sums=(
'2d8feaf128775efbab958e2614613cd45a7a172a3c687b6af054d61eabd3592cf1dd1c85ca92bff82834f43eb7ebedeb4f8c2fe6f116b6a22eb14a7ff98a1f25'
'88510ea986776bb8ed9fc8c1217728f8cf0f8b3a8aa4dbc07608e7b2803cd13dcb6809363208fd9531ccee5a9ba2cee39af498a1279d3e1268511982ecb559ec'
@@ -31,7 +32,8 @@ sha512sums=(
'SKIP'
'SKIP')
validpgpkeys=('14F26682D0916CDD81E37B6D61B7B526D98F0353')
-depends=('alsa-lib' 'libxt' 'libnotify' 'mime-types' 'nss' 'gtk2' 'gtk3' 'sqlite' 'dbus-glib')
+depends=('alsa-lib' 'libxt' 'libnotify' 'mime-types' 'nss' 'gtk2' 'gtk3'
+ 'sqlite' 'dbus-glib')
pkgver() {
echo "${_version}.$(head -n1 "${srcdir}/${_file}-${CARCH}.txt" | cut -c-8)"
@@ -43,10 +45,14 @@ package() {
install -d "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
cp -r firefox "${pkgdir}/opt/firefox-${_version}"
- ln -s /opt/firefox-${_version}/firefox "${pkgdir}/usr/bin/firefox-nightly"
- install -m644 "${srcdir}"/{firefox-nightly.desktop,firefox-nightly-safe.desktop} "${pkgdir}/usr/share/applications/"
- install -m644 "${srcdir}/firefox/browser/icons/mozicon128.png" "${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png"
- install -Dm644 "${srcdir}/vendor.js" "${pkgdir}/opt/firefox-${_version}/browser/defaults/preferences/vendor.js"
+ ln -s "/opt/firefox-${_version}/firefox" \
+ "${pkgdir}/usr/bin/firefox-nightly"
+ install -m644 "${srcdir}"/{firefox-nightly.desktop,firefox-nightly-safe.desktop} \
+ "${pkgdir}/usr/share/applications/"
+ install -m644 "${srcdir}/firefox/browser/icons/mozicon128.png" \
+ "${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png"
+ install -Dm644 "${srcdir}/vendor.js" \
+ "${pkgdir}/opt/firefox-${_version}/browser/defaults/preferences/vendor.js"
}
# vim:set ts=2 sw=2 cc=80 et: