blob: e42c0fbb30cd9d823f3ca6efd9808d5a833c8dbf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Maintainer: Cedric MATHIEU <me.xenom @ gmail.com>
# Contributor : Det <nimetonmaili @ gmail.com>
# Contributor: coderoar <coderoar @ gmail.com>
pkgname=firefox-nightly
pkgdesc='Standalone web browser from mozilla.org, nightly build'
url='http://www.mozilla.org/projects/firefox'
pkgrel=$(date +%Y_%m_%d_%T)
pkgver=9.0a1
arch=('i686' 'x86_64')
license=('MPL' 'GPL' 'LGPL')
source=('firefox-nightly.desktop' 'firefox-nightly-safe.desktop')
sha1sums=('6880230bc487bd65c5da43c19498f4520793e27b' '7faa96301d1c3d7772da859b96b3420cb0f34bb3')
depends=('desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
package() {
FX_SRC="firefox-${pkgver}.en-US.linux-${CARCH}.tar.bz2"
FX_SRC_URI="http://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/${FX_SRC}"
msg "Downloading..."
wget -N ${FX_SRC_URI}
msg "Extracting..."
bsdtar -x -f ${FX_SRC}
msg "Packaging..."
# uncomment this line to remove these
# rm -rf firefox/{extensions,plugins,searchplugins}
mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
cp -r firefox "${pkgdir}/opt/firefox-${pkgver}"
ln -s /opt/firefox-${pkgver}/firefox "${pkgdir}/usr/bin/firefox-nightly"
install -m644 "${srcdir}"/{firefox-nightly.desktop,firefox-nightly-safe.desktop} "${pkgdir}/usr/share/applications/"
install -m644 "${srcdir}/firefox/icons/mozicon128.png" "${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png"
}
|