updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / firefox-beta-bin-he / PKGBUILD
blob29146161a85e33f63a1a4a8c8efe99bcd5f96aac
1 # Contributor: Assaf Sapir <meijin007 AT gmail>
3 pkgname=firefox-beta-bin-he
4 pkgver=4.0rc1
5 pkgrel=1
6 pkgdesc='Standalone web browser from mozilla.org, beta build - binaries - Hebrew'
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=("http://ftp.mozilla.org/pub/firefox/releases/${pkgver}/linux-`uname -m`/he/firefox-${pkgver}.tar.bz2"
12         "$pkgname.desktop" "$pkgname-safe.desktop")
13 md5sums=('8676e666831150d2e01bc042f7feec21'
14          'f04698ce400b81093443b603e495cf28'
15          '6c5eb07e26a70eabdbfcb4960cc794ae')
16  [[ "$CARCH" == "i686" ]] && md5sums[0]="219286ec706c48c04e5dd45b6c6c11f9"
18 build() {
19         cd $srcdir
20 #       uncomment this line to remove them if you want
21 #       rm -rf $_pkgname/{extensions,plugins,searchplugins}
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