Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
firefox-aurora PKGBUILD
# Maintainer: Dan Serban
# Contributors: L42y, aeosynth, fmoralesc
pkgname=firefox-aurora
pkgver=latest
pkgrel=1
pkgdesc="Aurora channel"
url=http://www.mozilla.org/projects/firefox/
arch=(i686 x86_64)
license=(MPL GPL LGPL)
provides=('firefox>=4.0')
depends=(desktop-file-utils libxt mime-types nss shared-mime-info)
source=(firefox-aurora.desktop
firefox-aurora-safe.desktop)
md5sums=('663176661ce817e40b4217c5e107df42'
'1fbf95734ceb475ac2ac6ab085fc1961')
_url_prefix="ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/"
package()
{
msg "Finding newest version..."
wget --spider --no-remove-listing --no-verbose "${_url_prefix}*linux-${CARCH}.tar.bz" 2>/dev/null
_file=`cat .listing | grep linux-${CARCH}.tar.bz | awk '{print $9}' | sort | head -n 1 | tr -d '\r'`
echo "Found ${_file}"
msg "Downloading..."
wget ${_url_prefix}${_file}
msg "Extracting..."
bsdtar -xf ${_file}
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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.