1 # Maintainer: Philipp Middendorf <pmidden@gmx.net>
5 pkgdesc="An easy to use game engine written in C++"
7 url="http://freundlich.github.com/spacegameengine"
10 depends=('libfcppt-git' 'libmizuiro-git' 'libawl-git' 'boost>=1.46.0' 'libxi>=1.4.1' 'libx11>=1.4.1' 'libgl' 'freetype2' 'glew' 'cegui' 'libogg' 'libvorbis' 'libpng' 'openal' 'bullet' 'libxrandr')
11 makedepends=('git' 'cmake>=2.6')
16 md5sums=() #generate with 'makepkg -g'
20 msg "Downloading $1..."
23 if ! git pull origin; then
24 msg "Pulling $1 didn't work"
32 msg "Doesn't exist yet, cloning..."
33 git clone $2 $1 --depth 1
41 _download_from_git 'spacegameengine' 'git://github.com/freundlich/spacegameengine.git'
43 msg "Starting make..."
45 cd "$srcdir/spacegameengine"
51 -D ENABLE_EXAMPLES:=OFF\
53 -D ENABLE_XF86VMODE:=OFF\
54 -D CMAKE_INSTALL_PREFIX:="/usr"\
60 cd "$srcdir/spacegameengine/build"
61 make DESTDIR="$pkgdir" install