1 # Maintainer: Dan Serban
2 # Contributors: L42y, aeosynth
7 pkgdesc="Aurora channel"
8 url=http://www.mozilla.org/projects/firefox/
10 license=(MPL GPL LGPL)
12 depends=(desktop-file-utils libxt mime-types nss shared-mime-info)
13 source=(firefox-aurora.desktop
14 firefox-aurora-safe.desktop)
15 md5sums=('663176661ce817e40b4217c5e107df42'
16 '1fbf95734ceb475ac2ac6ab085fc1961')
18 _url_prefix="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/"
22 _url=$(lynx -dump "${_url_prefix}" | grep -o http.*linux-${CARCH}.tar.bz2 | tail -1)
26 bsdtar -xf $(basename ${_url})
27 mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
28 mv firefox firefox-aurora
29 mv firefox-aurora "${pkgdir}"/opt/
30 ln -s /opt/firefox-aurora/firefox "${pkgdir}"/usr/bin/firefox-aurora
31 install -m644 "${startdir}"/{firefox-aurora.desktop,firefox-aurora-safe.desktop} "${pkgdir}"/usr/share/applications/
32 install -m644 "${pkgdir}"/opt/firefox-aurora/icons/mozicon128.png "${pkgdir}"/usr/share/pixmaps/firefox-aurora-icon.png