1 # Contributor: Christoph Zeiler <rabyte*gmail>
6 pkgdesc="A modern Quake1 engine port"
8 url="http://www.kristianduske.com/$pkgname/"
10 depends=('sdl_net>=1.2' 'libgl')
11 install=$pkgname.install
12 source=($url/${pkgname}_sdl_${pkgver}_src.zip \
13 $pkgname-homedir.patch \
14 http://downloads.sourceforge.net/uhexen2/${pkgname}_sdl_${pkgver}_Makefile.tgz)
15 md5sums=('8907c5450f8cfe30472093702669df87'
16 '1e10c8bdfddbc28a9e010d377e2309ae'
17 'be9d15ee1dfe8722f789357744064391')
20 cd ${pkgname}_sdl_${pkgver}_src/Quake
22 patch -Np0 -i "$srcdir"/$pkgname-homedir.patch || return 1
23 cp -f "$srcdir"/Makefile .
25 make CFLAGS="${CFLAGS}" STRIP_CMD=: || return 1
26 install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
29 # vim:set ts=2 sw=2 et: