1 # Maintainer: Arkham <arkham at archlinux dot us>
2 # Contributor: Rick Rein <jeebusroxors@gmail.com>
3 # Contributor: Stefano Esposito <ragnarok@email.it>
8 pkgdesc="Chess game inspired by 'Battle Chess'. Features full 3D graphics, an advanced particle engine, and several different levels of AI"
9 url="http://sourceforge.net/projects/brutalchess/"
11 arch=('i686' 'x86_64')
12 depends=('sdl_image' 'freeglut')
13 source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-alpha-$pkgver-src.tar.gz")
14 md5sums=('370476b63091b8d82a9ea57c604dcbab')
17 cd $srcdir/$pkgname-$pkgver
19 # Configure and fix some warnings
20 ./configure --prefix=/usr --libexecdir=/usr/bin
21 sed '/<time.h>/ a\#include <limits.h>' -i src/brutalplayer.cpp
22 sed 's/GLvoid/void/g' -i src/md3view.cpp
23 sed 's/GLvoid/void/g' -i src/objview.cpp
27 make DESTDIR=$pkgdir install || return 1