1 # Maintainer: Cedric MATHIEU <me.xenom @ gmail.com>
2 # Contributor : Det <nimetonmaili @ gmail.com>
3 # Contributor: coderoar <coderoar @ gmail.com>
5 pkgname=firefox-nightly
6 pkgdesc='Standalone web browser from mozilla.org, nightly build'
7 url='http://www.mozilla.org/projects/firefox'
10 arch=('i686' 'x86_64')
11 license=('MPL' 'GPL' 'LGPL')
12 source=('firefox-nightly.desktop' 'firefox-nightly-safe.desktop')
13 sha1sums=('d998c8a825bb0f58594f822a2e2fbb7c0a1a3ce8' 'd98f7a35fd423a9701dcaef7d4bbffee939198c7')
14 depends=('alsa-lib' 'libxt' 'libnotify' 'mime-types' 'nss' 'gtk2' 'sqlite3' 'dbus-glib')
17 FX_SRC="firefox-${pkgver}.en-US.linux-${CARCH}.tar.bz2"
18 FX_SRC_URI="http://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/${FX_SRC}"
23 bsdtar -x -f ${FX_SRC}
26 # uncomment this line to remove these
27 # rm -rf firefox/{extensions,plugins,searchplugins}
29 mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
30 cp -r firefox "${pkgdir}/opt/firefox-${pkgver}"
32 ln -s /opt/firefox-${pkgver}/firefox "${pkgdir}/usr/bin/firefox-nightly"
33 install -m644 "${srcdir}"/{firefox-nightly.desktop,firefox-nightly-safe.desktop} "${pkgdir}/usr/share/applications/"
34 install -m644 "${srcdir}/firefox/icons/mozicon128.png" "${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png"