updated on Wed Jan 25 16:08:47 UTC 2012
[aur-mirror.git] / firefox-aurora-he / PKGBUILD
blob68da9925075e06156b09ca317ac8f8bcf37c44b5
1 # Maintainer: Yoel Lion <yoel3ster at gmail dot com>
2 # based by L42y's PKGBUILD  <423300@gmail.com>
3 # Contributor: aeosynth <james.r.campos@gmail.com>
4 pkgname=firefox-aurora-he
5 pkgdesc='Aurora channel is where users can test the latest features and innovations in Firefox web browser - hebrew translation'
6 url='http://www.mozilla.org/projects/firefox'
7 pkgver=10.0a2
8 pkgrel=1
9 arch=('i686' 'x86_64')
10 license=('MPL' 'GPL' 'LGPL')
11 source=('firefox-aurora-he.desktop' 'firefox-aurora-he-safe.desktop')
12 sha1sums=('b2afd80755a311312dd97e000bac79cb87ff4cdd'
13           '2a12daa7af9b03ca9297bae7a349fc7d7c006dba')
14 depends=('desktop-file-utils' 'libxt' 'mime-types' 'nss' 'shared-mime-info')
15 makedepends=('wget')
16 _fxsrc="firefox-${pkgver}.he.linux-${CARCH}.tar.bz2"
17 _fxurl="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora-l10n/${_fxsrc}"
19 package() {
20   msg "Downloading..."
21   wget -N ${_fxurl}
22   msg "Extracting..."
23   bsdtar -x -f ${_fxsrc}
24   msg "Packaging..."
26   mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
27   cp -r firefox "${pkgdir}/opt/${pkgname}"
29   ln -s /opt/${pkgname}/firefox "${pkgdir}/usr/bin/${pkgname}"
30   install -m644 "${srcdir}"/{$pkgname.desktop,$pkgname-safe.desktop} "${pkgdir}/usr/share/applications/"
31   install -m644 "${srcdir}/firefox/icons/mozicon128.png" "${pkgdir}/usr/share/pixmaps/${pkgname}-icon.png"