1 # Contributor: SergHeart
5 pkgdesc="Network/local game with penguins fighting in an arena."
6 url="http://www.tuxanci.org/"
9 makedepends=('cmake>=2.6.0' 'git')
10 depends=('sdl>=1.2.10' 'sdl_image>=1.2.6' 'sdl_ttf>=2.0.7' 'sdl_mixer>=1.2.7' 'zziplib' 'gettext')
12 _gitroot="git://repo.or.cz/tuxanci.git"
13 _gitname="tuxanci-0.21.0"
17 msg "Connecting to GIT server..."
19 if [ -d $_gitname ] ; then
20 cd $_gitname && git pull origin
21 msg "The local files are updated."
23 git clone $_gitroot $_gitname
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
31 cmake . -DCMAKE_INSTALL_PREFIX="/usr/" -DENABLE_DEBUG=1
33 make DESTDIR="$pkgdir" install