Guest User

PKGBUILD for aur/quakelive

a guest
May 29th, 2011
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.02 KB | None | 0 0
  1. # Maintainer: Jean-Alexandre Anglès d'Auriac <jagw40k@free.fr>
  2. # Contributor: Philipp 'TamCore' B. <philipp {at} tamcore {dot} eu>
  3.  
  4. pkgname=quakelive
  5. pkgver=0.1.0.433
  6. pkgrel=1
  7. pkgdesc="A plugin allowing you to play Quake Live within any browser compatible with Netscape plugins"
  8. arch=('i686' 'x86_64')
  9. url="http://quakelive.com/"
  10. license=('custom')
  11. depends=('libxxf86vm'
  12.          'libxxf86dga'
  13.          'alsa-lib'
  14.          'zlib'
  15.          'gcc-libs')
  16. source=(http://cdn.quakelive.com/assets/2010111604/QuakeLivePlugin_433.xpi?v=0,1,0,433)
  17. md5sums=('cff826a0579f1e107e17a79c4b21aee0')
  18.  
  19. package() {
  20.     mkdir -p $pkgdir/usr/lib/mozilla/plugins
  21.     if [ $CARCH == 'x86_64' ]; then
  22.         cp $srcdir/plugins/npquakelive.x64.so $pkgdir/usr/lib/mozilla/plugins/npquakelive.x64.so
  23.     else
  24.         cp $srcdir/plugins/npquakelive.i386.so $pkgdir/usr/lib/mozilla/plugins/npquakelive.i386.so
  25.     fi
  26.     mkdir -p $pkgdir/usr/share/licenses/quakelive/
  27.     cp $startdir/licence $pkgdir/usr/share/licenses/quakelive/LICENCE
  28. }
Add Comment
Please, Sign In to add comment