updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / firefox-nightly-de / PKGBUILD
bloba1a425430b4d399d85615aa9e4b6e09883f1b9eb
1 # Maintainer: Gordin <9ordin @t gmail dot com>
2 # Contributor: Cedric MATHIEU <me.xenom @ gmail.com>
3 # Contributor : Det <nimetonmaili @ gmail.com>
4 # Contributor: coderoar <coderoar @ gmail.com>
6 pkgname=firefox-nightly-de
7 pkgdesc='Standalone web browser from mozilla.org, nightly build, german'
8 url='http://www.mozilla.org/projects/firefox'
9 pkgver=12.0a1
10 pkgrel=1
11 arch=('i686' 'x86_64')
12 license=('MPL' 'GPL' 'LGPL')
13 source=('firefox-nightly.desktop' 'firefox-nightly-safe.desktop')
14 sha1sums=('628027fb884e45903af21c09fd3474556ac6da56' 'cecfda3254e589cef2e61779a9f2a3b28b4d9fcc')
15 depends=('desktop-file-utils' 'libxt' 'mime-types' 'nss' 'alsa-lib' 'libnotify')
16 conflicts=('firefox-nightly')
17 provides=('firefox-nightly')
18 install=firefox.install
21 package() {
22   FX_SRC="firefox-${pkgver}.de.linux-${CARCH}.tar.bz2"
23   FX_SRC_URI="https://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/${FX_SRC}"
25   msg "Downloading..."
26   wget -N ${FX_SRC_URI}
27   msg "Extracting..."
28   bsdtar -x -f ${FX_SRC}
29   msg "Packaging..."
31 #   uncomment this line to remove these
32 #   rm -rf firefox/{extensions,plugins,searchplugins}
34   mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
35   cp -r firefox "${pkgdir}/opt/firefox-${pkgver}"
37   ln -s /opt/firefox-${pkgver}/firefox "${pkgdir}/usr/bin/firefox-nightly"
38   install -m644 "${srcdir}"/{firefox-nightly.desktop,firefox-nightly-safe.desktop} "${pkgdir}/usr/share/applications/"
39   install -m644 "${srcdir}/firefox/icons/mozicon128.png" "${pkgdir}/usr/share/pixmaps/firefox-nightly-icon.png"