updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / firefox-beta-bin-da / PKGBUILD
bloba2250b223bab65af16703f5c9782bae1b94d6c7d
1 pkgname=firefox-beta-bin-da
2 pkgver=4.0b11
3 pkgrel=1
4 pkgdesc="Standalone web browser from mozilla.org, binary beta build - Danish"
5 url="http://www.mozilla.com/firefox/beta/"
6 arch=('i686' 'x86_64')
7 depends=('dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
8 provides=("firefox=${pkgver}")
9 conflicts=('firefox-beta' 'firefox-beta-bin')
10 license=('MPL' 'GPL' 'LGPL')
11 source=("ftp://mirrors.dotsrc.org/mozilla-releases/firefox/releases/${pkgver}/linux-i686/da/firefox-${pkgver}.tar.bz2"
12         'firefox-beta.desktop'
13         'firefox-beta-safe.desktop')
14 md5sums=('f5c58e6a1b235efab28ebc624bdfd990'
15          'f71ead10364376564751a4e4820db4b9'
16          '13be616d26af8bae4b57cc50f5d9d08a')
17 [ "$CARCH" = "x86_64" ] && source[0]="ftp://mirrors.dotsrc.org/mozilla-releases/firefox/releases/${pkgver}/linux-x86_64/da/firefox-${pkgver}.tar.bz2" && md5sums[0]='581c3c1cc63467fd62407e4daefc876d'
19 build() {
20         cd $srcdir
21         mkdir -pv $pkgdir/usr/{bin,lib,share/{applications,pixmaps}}
22         cp -Rv firefox $pkgdir/usr/lib/firefox-$pkgver
23         ln -sv /usr/lib/firefox-$pkgver/firefox $pkgdir/usr/bin/firefox-beta
24         install -m644 -v $srcdir/firefox-beta{,-safe}.desktop $pkgdir/usr/share/applications/
25         install -m644 -v $srcdir/firefox/icons/mozicon128.png $pkgdir/usr/share/pixmaps/firefox-beta.png