1 # Maintainer: Kovivchak Evgen <oneonfire@gmail.com>
3 pkgname=firefox-beta-bin-uk
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 Ukrainian 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.0b5')
17 _source_x86=(${_srcurl}/${pkgver}/linux-i686/${_lang}/firefox-${pkgver}.tar.bz2
19 ${_pkgnome}-safe.desktop)
20 _md5sums_x86=('d37dac6c4473bb0fd3dc7cbf15cf83bd'
21 '560e14d6cfb802255c6f2f71705201dc'
22 'fbd49e056293bc8b4acbda98da857a8f')
24 _source_x86_64=(${_srcurl}/${pkgver}/linux-x86_64/${_lang}/firefox-${pkgver}.tar.bz2
26 ${_pkgnome}-safe.desktop)
27 _md5sums_x86_64=('3e0be12869ac452974225d561c6c83ca'
28 '560e14d6cfb802255c6f2f71705201dc'
29 'fbd49e056293bc8b4acbda98da857a8f')
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