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

firefox-gnome-keyring-PKGBUILD

By: a guest on May 11th, 2013  |  syntax: Bash  |  size: 1.03 KB  |  views: 39  |  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: lepokle <devel@leo.von-klenze.de>
  2. pkgname='firefox-gnome-keyring'
  3. pkgver=20.0
  4. pkgrel=1
  5. pkgdesc='Gnome-keyring integration for Firefox'
  6. arch=('i686' 'x86_64')
  7. url='http://github.com/lepokle/firefox-gnome-keyring'
  8. license=('GPL')
  9. depends=('firefox>=19.0' 'gnome-keyring')
  10. makedepends=('zip' 'unzip' 'xulrunner>=19.0')
  11. provides=('firefox-gnome-keyring')
  12. source=("$pkgname-v$pkgver-$pkgrel.tar.gz::$url/tarball/v$pkgver-$pkgrel")
  13.  
  14. md5sums=('0e908c889af07cbbee3cc43b4c9f0888')
  15.  
  16.  
  17. _subdir='lepokle-firefox-gnome-keyring-792de5f'
  18. _uuid='6f9d85e0-794d-11dd-ad8b-0800200c9a66'
  19.  
  20. build()
  21. {
  22.     cd "$srcdir/$_subdir"
  23.     msg 'Building extension...'
  24.     make XUL_VER_MIN='17.0'
  25. }
  26.  
  27. package()
  28. {
  29.     cd "$srcdir"
  30.  
  31.     mkdir -p "$pkgdir/usr/lib/firefox/extensions"
  32.     unzip "$srcdir/$_subdir/mozilla-gnome-keyring-*.xpi" -d "$pkgdir/usr/lib/firefox/extensions/{$_uuid}"
  33.     mkdir -p "$pkgdir/usr/lib/thunderbird/extensions"
  34.     ln -s "/usr/lib/firefox/extensions/{$_uuid}" "$pkgdir/usr/lib/thunderbird/extensions/{$_uuid}"
  35. }
clone this paste RAW Paste Data