updated on Fri Jan 13 12:00:28 UTC 2012
[aur-mirror.git] / firefox-beta-bin-fr / PKGBUILD
blobe6e32319930a2e337f626a29aa183b1d8a83b586
1 # Contributor: machmalabala <machmalabala(at)gmail(dot)com>
3 pkgname=firefox-beta-bin-fr
4 pkgver=10.0b4
5 pkgrel=1
6 pkgdesc='Standalone web browser from mozilla.org, beta build - binaries - french.'
7 url='http://www.mozilla.org/projects/firefox'
8 arch=('i686' 'x86_64')
9 depends=('dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
10 license=('MPL' 'GPL' 'LGPL')
11 source=("ftp://ftp.mozilla.org/pub/firefox/releases/${pkgver}/linux-${CARCH}/fr/firefox-${pkgver}.tar.bz2"
12         "$pkgname.desktop" "$pkgname-safe.desktop")
13 sha1sums=('69533f54e869a9763684c32a9a166f56553fec53'
14           'a93c7f75b2325b499170228f58aaa0d9e235f7a8'
15           '512319635dca399c90c947e3293607bfb515ac4f')
17 [[ "$CARCH" == "i686" ]] &&
18   sha1sums[0]="acb91a4065ea802dccabd4ee5f0dde0810e00ed6"
20 build() {
21         cd $srcdir
22         
23         mkdir -p $pkgdir/{usr/{bin,share/{applications,pixmaps}},opt}
24         cp -r firefox $pkgdir/opt/$pkgname-$pkgver
26         ln -s /opt/$pkgname-$pkgver/firefox $pkgdir/usr/bin/$pkgname
27         install -m644 $srcdir/{$pkgname.desktop,$pkgname-safe.desktop} $pkgdir/usr/share/applications/
28         install -m644 $srcdir/firefox/icons/mozicon128.png $pkgdir/usr/share/pixmaps/${pkgname}-icon.png