1 # Contributor: Harley Laue <losinggeneration@gmail.com>
6 pkgdesc="A Free and Open Source framework for creating and distributing games"
8 url="http://gluon.gamingfreedom.org/"
10 depends=('kdebase-runtime' 'alure>=1.2')
11 makedepends=('git' 'cmake' 'automoc4' 'mesa')
16 _gitroot="git://anongit.kde.org/gluon.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull --depth=1 origin
25 msg "The local files are updated."
27 git clone --depth=1 $_gitroot
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 [ -d "$srcdir/$_gitname-build" ] && rm -rf "$srcdir/$_gitname-build"
34 mkdir "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
37 cmake -DCMAKE_INSTALL_PREFIX=/usr "$srcdir/$_gitname"
42 cd "$srcdir/$_gitname-build"
43 make DESTDIR="$pkgdir/" install