updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / firefox-aurora-bin-it / PKGBUILD
blobb462042a899574d3e3cc8eb3180d695e42567d70
1 # Maintainer: Simone Sclavi 'Ito' <darkhado@gmail.com>
3 pkgname=firefox-aurora-bin-it
4 _mypkgn=firefox-aurora
5 pkgdesc='Standalone web browser from mozilla.org (Italian version from Aurora channel)'
6 url='http://www.mozilla.com/firefox/channel/'
7 pkgver=11.0a2
8 pkgrel=2
9 arch=('i686' 'x86_64')
10 license=('MPL' 'GPL' 'LGPL')
11 depends=('desktop-file-utils' 'xulrunner' 'gnome-vfs' 'orbit2')
12 makedepends=('curl' 'perl')
13 conflicts=('firefox-aurora')
14 install=firefox.install
16 _ffsrc="firefox-${pkgver}.it.linux-${CARCH}.tar.bz2"
17 _ffsums="firefox-${pkgver}.it.linux-${CARCH}.checksums"
18 _ffsrc_url="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora-l10n/${_ffsrc}"
19 _ffsums_url="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora-l10n/${_ffsums}"
20 _ffsha512=`curl -# $_ffsums_url | perl -040 -e '$sums=<>; print $sums;'`
22 source=('firefox-aurora.desktop' 'firefox-aurora-safe.desktop' $_ffsrc_url)
23 sha512sums=('0597c08fec67e1755e8bfee89e82e5f44ce53ccab9529111a1ee7ccabb62cd078b97059874a867c976437b73af7a0afa7fc291146deb8ad41f5e424c91abce03'
24             '749bc9bb180909c7319a1576e9df1e4cb06488b33b8dd61b8f1a63e4df9208cb9bb6d0c4ecef3fbe388f78368aef4562ae1dbfda1dbbfa649aa9d247c4903610'       
25             $_ffsha512)
26 package() {
28   mkdir -p ${pkgdir}/usr/{lib,bin,share/{applications,pixmaps}}
30   cp -r firefox "${pkgdir}/usr/lib/${_mypkgn}"
31   
32   ln -s /usr/lib/libnotify.so ${pkgdir}/usr/lib/${_mypkgn}/libnotify.so.1
33   
34   ln -s /usr/lib/${_mypkgn}/firefox ${pkgdir}/usr/bin/firefox-aurora
35   install -m644 {firefox-aurora.desktop,firefox-aurora-safe.desktop} ${pkgdir}/usr/share/applications/
36   install -m644 firefox/icons/mozicon128.png ${pkgdir}/usr/share/pixmaps/${_mypkgn}-icon.png