1 # Contributor: polslinux <www.polslinux.it>
3 pkgname=firefox-beta-bin-it
4 _pkgreal=firefox-beta-bin
9 _srcurl=ftp://ftp.mozilla.org/pub/firefox/releases
10 pkgdesc='Standalone web browser from mozilla.org! Latest beta with Italian language'
11 url='http://www.mozilla.org/projects/firefox'
12 arch=('i686' 'x86_64')
13 depends=('dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
14 license=('MPL' 'GPL' 'LGPL')
15 provides=("firefox=$pkgver")
16 source=(ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/linux-i686/it/firefox-$pkgver.tar.bz2
18 firefox-beta-safe.desktop)
19 [ "$CARCH" = 'x86_64' ] && source[0]="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$pkgver/linux-x86_64/it/firefox-$pkgver.tar.bz2"
20 md5sums=(`curl -s ${source/li*}/MD5SUMS | grep it | grep "$CARCH" | grep bz | cut -d " " -f1`
21 'ae3521941bdf0d760dd1b4c36f203d14'
22 '275ff1cc88e3080578a7262411cd223e')
27 mkdir -p $pkgdir/{usr/{bin,share/{applications,pixmaps}},opt}
28 cp -r firefox $pkgdir/opt/${_pkgreal}-$pkgver
30 ln -s /opt/${_pkgreal}-$pkgver/firefox $pkgdir/usr/bin/${_pkgreal}
31 install -m644 $srcdir/{$_pkgnome.desktop,$_pkgnome-safe.desktop} $pkgdir/usr/share/applications/
32 install -m644 $srcdir/firefox/icons/mozicon128.png $pkgdir/usr/share/pixmaps/${_pkgreal}-icon.png