1 # Maintainer: Kovivchak Evgen <oneonfire@gmail.com>
3 pkgname=firefox-beta-bin-ru
4 _pkgreal=firefox-beta-bin
9 _srcurl=http://pv-mirror02.mozilla.org/pub/mozilla.org/firefox/releases
10 pkgdesc='Standalone web browser from mozilla.org! Latest beta with Russian 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-10.0b6')
17 _source_x86=(${_srcurl}/${pkgver}/linux-i686/${_lang}/firefox-${pkgver}.tar.bz2
19 ${_pkgnome}-safe.desktop)
20 _md5sums_x86=('5316795cbc1601c71106755fd0474e72'
21 '8698d9cd40cdd170349db1315f0f1304'
22 '052799fafa03136743b439fafb17d751')
24 _source_x86_64=(${_srcurl}/${pkgver}/linux-x86_64/${_lang}/firefox-${pkgver}.tar.bz2
26 ${_pkgnome}-safe.desktop)
27 _md5sums_x86_64=('cc318db8a96caddf596335b7a36b4710'
28 '8698d9cd40cdd170349db1315f0f1304'
29 '052799fafa03136743b439fafb17d751')
31 source=(${_source_x86[@]})
32 md5sums=(${_md5sums_x86[@]})
34 [ "$CARCH" = "x86_64" ] && source=(${_source_x86_64[@]}) && md5sums=(${_md5sums_x86_64[@]})
39 mkdir -p $pkgdir/{usr/{bin,share/{applications,pixmaps}},opt}
40 cp -r firefox $pkgdir/opt/${_pkgreal}-$pkgver
42 ln -s /opt/${_pkgreal}-$pkgver/firefox $pkgdir/usr/bin/${_pkgreal}
43 install -m644 $srcdir/{$_pkgnome.desktop,$_pkgnome-safe.desktop} $pkgdir/usr/share/applications/
44 install -m644 $srcdir/firefox/icons/mozicon128.png $pkgdir/usr/share/pixmaps/${_pkgreal}-icon.png