1 # Maintainer: Joe Davison <joedavison.davison@gmail.com>
3 pkgname=darkplaces-server
6 pkgdesc="An advanced Quake 1 game engine, server only."
8 url="http://icculus.org/twilight/darkplaces/"
12 install=$pkgname.install
13 source=(http://icculus.org/twilight/darkplaces/files/darkplacesengine$pkgver.zip)
14 md5sums=('c42103732cedfcf385ee959db9db6cb4')
18 bsdtar -xf darkplacesenginesource$pkgver.zip || return 1
22 make OPTIM_RELEASE="${CFLAGS}" DP_FS_BASEDIR=/usr/share/quake sv-release || return 1
24 # Install binary, icon and desktop files
25 install -d $pkgdir/usr/{bin,share/quake}
26 install -m 755 darkplaces-dedicated $pkgdir/usr/bin/