updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / firefox4-rc1-fr / PKGBUILD
blobc05dbdd0ac026f5ca986947e6cef40a539834088
1 # Maintainer: Diablo150 aka Florian Joncour <Diablo150 ar djl-linux.org>
2 # Based on firefox4-rc1-es by John Edisson Ortiz <laguaza at gmail dot com>
4 pkgname=firefox4-rc1-fr
5 pkgdesc='Mozilla Firefox rc1 en français'
6 url='http://www.mozilla.org/projects/firefox'
7 pkgver=4.0rc1
8 pkgrel=20110301
9 arch=('i686' 'x86_64')
10 license=('MPL' 'GPL' 'LGPL')
11 conflicts=('firefox4')
13 source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${pkgver}/linux-${CARCH}/fr/firefox-${pkgver}.tar.bz2
14         firefox4-rc1-fr.desktop firefox4-rc1-fr-safe.desktop)
16 md5sums=('14e13075f4eb677a41e551ded09f1f03'
17             '90319bbc2d16d4e08c429326d658f9c0'
18             '60acebd3cc6efb444dfecbae67f3e690')
20 depends=('desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
22 [[ "$CARCH" == "x86_64" ]] && md5sums[0]='af4e61e690be3db68756f4ec5f0c307a'
24 build() {
25         cd $srcdir
26 #       uncomment this line to remove them if you want
27 #       rm -rf $_pkgname/{extensions,plugins,searchplugins}
29         mkdir -p $pkgdir/{usr/{bin,share/{applications,pixmaps}},opt}
30         cp -r firefox $pkgdir/opt/$pkgname-$pkgver
32         ln -s /opt/$pkgname-$pkgver/firefox $pkgdir/usr/bin/$pkgname
33         install -m644 $srcdir/{firefox4-rc1-fr.desktop,firefox4-rc1-fr-safe.desktop} $pkgdir/usr/share/applications/
34 #       install -m644 $srcdir/firefox/icons/mozicon128.png $pkgdir/usr/share/pixmaps/${pkgname}-icon.png