updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / firefox-nightly-qt-bin / PKGBUILD
blob19a80f1a165203ecf5d739ec3a646b9bd7e740d6
1 pkgname=firefox-nightly-qt-bin
2 _ffversion=1320157989
3 _ffrelversion=10.0a1
4 pkgver=${_ffrelversion}
5 pkgrel=3
6 pkgdesc='Standalone web browser from mozilla.org, nightly build qt - binaries.'
7 url='http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linuxqt/'
8 arch=('i686')
9 depends=('qt' 'dbus-glib' 'desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
10 license=('MPL' 'GPL' 'LGPL')
11 source=("$pkgname.desktop" "$pkgname-safe.desktop" )
12 md5sums=('00cf85cfcbda1a413da84493bc69cc7e'
13          'e16281ac3e15f5b2f54444585cb49735')
15 build() {
16         cd $srcdir
17         wget -c "http://ftp.mozilla.org/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linuxqt/${_ffversion}/firefox-${_ffrelversion}.en-US.linux-i686.tar.bz2"
18         
19         mkdir -p $pkgdir/{usr/{bin,share/{applications,pixmaps}},opt}
20         tar xfvj firefox-${_ffrelversion}.en-US.linux-i686.tar.bz2
21         cp -r firefox $pkgdir/opt/$pkgname-$pkgver
23         ln -s /opt/$pkgname-$pkgver/firefox $pkgdir/usr/bin/$pkgname
24         install -m644 $srcdir/{$pkgname.desktop,$pkgname-safe.desktop} $pkgdir/usr/share/applications/
25         #install -m644 $srcdir/firefox/icons/mozicon128.png $pkgdir/usr/share/pixmaps/${pkgname}-icon.png