Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

firefox-aurora PKGBUILD

By: a guest on Oct 18th, 2011  |  syntax: Bash  |  size: 1.21 KB  |  views: 71  |  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: Dan Serban
  2. # Contributors: L42y, aeosynth, fmoralesc
  3.  
  4. pkgname=firefox-aurora
  5. pkgver=latest
  6. pkgrel=1
  7. pkgdesc="Aurora channel"
  8. url=http://www.mozilla.org/projects/firefox/
  9. arch=(i686 x86_64)
  10. license=(MPL GPL LGPL)
  11. depends=(desktop-file-utils libxt mime-types nss shared-mime-info)
  12. source=(firefox-aurora.desktop
  13.         firefox-aurora-safe.desktop)
  14. md5sums=('663176661ce817e40b4217c5e107df42'
  15.          '1fbf95734ceb475ac2ac6ab085fc1961')
  16.  
  17. _url_prefix="http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/"
  18.  
  19. package()
  20. {
  21.   msg "Downloading..."
  22.   wget 'ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/*linux-x86_64.tar.bz2'
  23.   msg "Extracting..."
  24.   bsdtar -xf $(ls firefox*.tar.bz2 | sort | tail -n 1)
  25.   mkdir -p "${pkgdir}"/{usr/{bin,share/{applications,pixmaps}},opt}
  26.   mv firefox firefox-aurora
  27.   mv firefox-aurora "${pkgdir}"/opt/
  28.   ln -s /opt/firefox-aurora/firefox "${pkgdir}"/usr/bin/firefox-aurora
  29.   install -m644 "${startdir}"/{firefox-aurora.desktop,firefox-aurora-safe.desktop} "${pkgdir}"/usr/share/applications/
  30.   install -m644 "${pkgdir}"/opt/firefox-aurora/icons/mozicon128.png "${pkgdir}"/usr/share/pixmaps/firefox-aurora-icon.png
  31. }
  32.  
clone this paste RAW Paste Data