Want more features on Pastebin? Sign Up, it's FREE!
Guest

Firefox Aurora v. 19.0 PKGBUILD

By: a guest on Nov 27th, 2012  |  syntax: None  |  size: 1.41 KB  |  views: 100  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Luis von Bernus <PaterSiul@gmail.com>
  2. # Contributors: L42y, aeosynth, Dan Serban, Kalipath
  3. # Temporary update to version 19 by Decorian
  4.  
  5. pkgname=firefox-aurora
  6. pkgver=19.0a2
  7. pkgrel=latest
  8. pkgdesc="Firefox Aurora channel - Nightly build"
  9. url=http://www.mozilla.org/en_US/firefox/aurora/
  10. arch=(i686 x86_64)
  11. license=(MPL GPL LGPL)
  12. depends=(desktop-file-utils libxt mime-types nss shared-mime-info)
  13. makedepends=(wget)
  14. provides=(firefox-aurora)
  15. conflicts=(firefox-aurora)
  16. _baseurl=http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora
  17. _filename=firefox-${pkgver}.en-US.linux-${CARCH}
  18. source=(firefox-aurora.desktop
  19.         firefox-aurora-safe.desktop
  20.         "${_baseurl}/${_filename}.tar.bz2")
  21. _md5=$(wget -qO- ${_baseurl}/${_filename}.checksums | awk -F' ' '$2 == "md5" && $4 == "'"${_filename}.tar.bz2"'" { print $1 } ')
  22. md5sums=('663176661ce817e40b4217c5e107df42'
  23.          '1fbf95734ceb475ac2ac6ab085fc1961'
  24.          ${_md5})
  25. package()
  26. {
  27.  
  28.   mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
  29.   mv firefox firefox-aurora
  30.   mv firefox-aurora "${pkgdir}"/opt/
  31.   ln -s /opt/firefox-aurora/firefox "${pkgdir}"/usr/bin/firefox-aurora
  32.   install -m644 "${startdir}"/{firefox-aurora.desktop,firefox-aurora-safe.desktop} "${pkgdir}"/usr/share/applications/
  33.   install -m644 "${pkgdir}"/opt/firefox-aurora/icons/mozicon128.png "${pkgdir}"/usr/share/pixmaps/firefox-aurora-icon.png
  34. }
clone this paste RAW Paste Data