1 # Maintainer: Corrado 'bardo' Primier <ilbardo@gmail.com>
2 # Contributor: Jabir Ali Ouassou
3 # Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
4 # Contributor: Michal 'dta' Hybner <dta081@gmail.com>
9 pkgdesc="3rd person, side-view, fast-action, kill-them-before-they-kill-you game"
10 arch=('i686' 'x86_64')
11 url="http://www.xevil.com/"
13 depends=('gcc-libs' 'libxpm')
15 source=(http://www.xevil.com/download/stable/xevilsrc${pkgver}.zip
16 http://ftp.debian.org/debian/pool/main/x/xevil/xevil_$pkgver-9.diff.gz
18 md5sums=('09a9ef720b7204b0be68c4f462def370'
19 '8b32d693de5a3e67e16eb7c0d78116c9'
20 '33c9dcfd85e5c21db0f00de86a6db255')
21 noextract=(xevilsrc${pkgver}.zip)
24 unzip -ao xevilsrc${pkgver}.zip
26 patch -Np1 -i ${srcdir}/xevil_${pkgver}-9.diff
27 patch -Np0 -i ${srcdir}/x86_64.patch
29 --expression='s:-static::'\
30 --expression="s:CFLAGS=\":CFLAGS=\"${CFLAGS} :g"\
31 --expression='s:-lXpm:-lXpm -lpthread:g'\
34 make DEBUG_OPT="-O -DNDEBUG" || return 1
36 install -Dm755 x11/REDHAT_LINUX/xevil ${pkgdir}/usr/bin/${pkgname}
37 install -Dm755 x11/REDHAT_LINUX/serverping ${pkgdir}/usr/bin/${pkgname}-serverping
40 # vim:set ts=2 sw=2 et: