updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / yamagi-quake2 / PKGBUILD
blobb2ce5183864b2bea3ef934df49f283bae0e08b15
1 # Contributor: Frederic Bezies <fredbezies*gmail>
2 # Maintainer: Ronan Rabouin <darkbaboon*gmail>
4 pkgname=yamagi-quake2
5 _pkgname=quake2
6 pkgver=3.00
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.bz2 $_pkgname.sh)
17 md5sums=('bbad6517c36ce9743d9d07c7e1ab4185'
18          'ea8d2c873f7891476a0b2a79b2ef19b3')
20 build() {
21     cd $srcdir/$_pkgname-$pkgver
23     make || return 1
25     # Create Destination Directories
26     install -d $pkgdir/usr/{bin,share/$_pkgname}
28     # Install Game Base
29     cd $srcdir/$_pkgname-$pkgver/release
30     cp -R * $pkgdir/usr/share/$_pkgname
32     # Install Game Launcher
33     install -D -m 755 $srcdir/$_pkgname.sh $pkgdir/usr/bin/$_pkgname