# Maintainer: Luis von Bernus # Contributors: L42y, aeosynth, Dan Serban pkgname=firefox-aurora pkgver=14.0a2_20120604 _pkgver=14.0a2 _datetime=2012-06-04-04-20-07 pkgrel=1 pkgdesc="Firefox Aurora channel - lagging a bit behind nightly but suitable for aur helpers" url=http://www.mozilla.org/projects/firefox/ arch=(i686 x86_64) license=(MPL GPL LGPL) depends=(desktop-file-utils libxt mime-types nss shared-mime-info) source=(firefox-aurora.desktop firefox-aurora-safe.desktop "http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/${_datetime}-mozilla-aurora/firefox-${_pkgver}.en-US.linux-${CARCH}.tar.bz2") md5sums=('663176661ce817e40b4217c5e107df42' '1fbf95734ceb475ac2ac6ab085fc1961' '0f5e83780d3e8c568c0aca768e2a2bfa') package() { mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt} mv firefox firefox-aurora mv firefox-aurora "${pkgdir}"/opt/ ln -s /opt/firefox-aurora/firefox "${pkgdir}"/usr/bin/firefox-aurora install -m644 "${startdir}"/{firefox-aurora.desktop,firefox-aurora-safe.desktop} "${pkgdir}"/usr/share/applications/ install -m644 "${pkgdir}"/opt/firefox-aurora/icons/mozicon128.png "${pkgdir}"/usr/share/pixmaps/firefox-aurora-icon.png }