1 # Maintainer: Rich Lane <rlane@club.cc.cmu.edu>
6 pkgdesc="A space fleet programming game"
8 url="https://github.com/rlane/risc"
10 depends=('glib2' 'gtk2' 'gtkglext' 'glew')
11 makedepends=('pkgconfig' 'vala')
13 _gitroot="git://github.com/rlane/risc"
20 msg "Connecting to GIT server...."
22 if [[ -d $_gitname ]] ; then
23 cd $_gitname && git pull
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname -b $_gitbranch
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_gitname-build"
33 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" -b $_gitbranch
34 cd "$srcdir/$_gitname-build"
38 ./autogen.sh && ./configure --prefix=/usr && make
42 cd "$srcdir/$_gitname-build"
43 make DESTDIR="$pkgdir" install