Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

yamagi-quake2 4.10 AUR PKGBUILD

By: neuromancer85 on Apr 16th, 2012  |  syntax: Bash  |  size: 0.96 KB  |  hits: 45  |  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. # Contributor: Frederic Bezies <fredbezies*gmail>
  2. # Maintainer: Ronan Rabouin <darkbaboon*gmail>
  3.  
  4. pkgname=yamagi-quake2
  5. _pkgname=quake2
  6. pkgver=4.10
  7. pkgrel=1
  8. pkgdesc="Quake 2 engine focused on single player and 64bits."
  9. url="http://www.yamagi.org/quake2/"
  10. license=('GPL')
  11. depends=('libjpeg' 'sdl' 'libxxf86vm' 'libxxf86dga')
  12. makedepends=('unzip')
  13. conflicts=(quetoo quake2)
  14. install="quake2.install"
  15. arch=('i686' 'x86_64')
  16. source=(http://deponie.yamagi.org/$_pkgname/$_pkgname-$pkgver.tar.xz $_pkgname.sh)
  17. md5sums=('a1df85cce2f5e94a9bccdee4a64f038d'
  18.          'ea8d2c873f7891476a0b2a79b2ef19b3')
  19.  
  20. build() {
  21.     cd $srcdir/$_pkgname-$pkgver
  22.  
  23.     make || return 1
  24.  
  25.     # Create Destination Directories
  26.     install -d $pkgdir/usr/{bin,share/$_pkgname}
  27.  
  28.     # Install Game Base
  29.     cd $srcdir/$_pkgname-$pkgver/release
  30.     cp -R * $pkgdir/usr/share/$_pkgname
  31.  
  32.     # Install Game Launcher
  33.     install -D -m 755 $srcdir/$_pkgname.sh $pkgdir/usr/bin/$_pkgname
  34. }