1 # Contributor: Bruno Vieira <mail@bmpvieira.com>
5 pkgdesc="the open-source Creatures engine"
7 url="http://openc2e.org"
9 depends=('perl' 'bison' 're2c' 'zlib' 'perl-yaml' 'openal' 'freealut' 'sdl_net' 'sdl_ttf' 'sdl_gfx' 'boost' 'cmake')
10 optdepends=("qt: for the GUI")
11 makedepends=('gcc' 'git' 'cmake')
15 _gitroot='git://github.com/ccdevnet/openc2e.git'
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
29 msg "GIT checkout /done or server timeout"
30 msg "Starting make..."
37 install -Dm755 $startdir/src/$_gitname/build/openc2e $startdir/pkg/usr/bin/openc2e