updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / yamagi-quake2 / PKGBUILD
blobd5f5e727b0361c5fb5de2b874ff199a5e758ebbe
1 # Contributor: Frederic Bezies <fredbezies*gmail>
2 # Maintainer: Ronan Rabouin <darkbaboon*gmail>
4 pkgname=yamagi-quake2
5 _pkgname=quake2
6 pkgver=4.02
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=('831cbe432b740f4225ce3a02bc665845'
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