2 # Contributors: L42y, aeosynth, Dan Serban
4 pkgname=firefox-aurora-ru
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=('c93a70dbe8e2668bae99952b248ae48c'
16 '1fbf95734ceb475ac2ac6ab085fc1961')
18 _url_prefix="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora-l10n/"
22 _url=$(lynx -dump "${_url_prefix}" | grep -o http.*ru.linux-${CARCH}.tar.bz2 | tail -1)
26 bsdtar -xf $(basename ${_url})
27 mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
28 mv firefox "${pkgdir}"/opt/firefox-aurora/
29 ln -s /opt/firefox-aurora/firefox "${pkgdir}"/usr/bin/firefox-aurora
30 install -m644 "${startdir}"/{firefox-aurora.desktop,firefox-aurora-safe.desktop} "${pkgdir}"/usr/share/applications/
31 install -m644 "${pkgdir}"/opt/firefox-aurora/icons/mozicon128.png "${pkgdir}"/usr/share/pixmaps/firefox-aurora-icon.png