updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / fitzquake / PKGBUILD
blobe9a51e8e28321c85951322349eec82510852af9b
1 # Contributor: Christoph Zeiler <rabyte*gmail>
3 pkgname=fitzquake
4 pkgver=20080705
5 pkgrel=2
6 pkgdesc="A modern Quake1 engine port"
7 arch=('i686' 'x86_64')
8 url="http://www.kristianduske.com/$pkgname/"
9 license=('GPL')
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')
19 build() {
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: