1 # Maintainer: Ramana Kumar <first.last@gmail.com>
5 pkgdesc="first-person role-playing game (no data files)"
7 url="http://arx.parpg.net"
10 depends=('boost-libs' 'zlib' 'devil' 'freetype2' 'openal')
11 makedepends=('git' 'cmake' 'boost')
20 md5sums=() #generate with 'makepkg -g'
22 _gitroot='https://github.com/lubosz/ArxFatalis.git'
27 msg "Connecting to GIT server...."
29 if [[ -d "$_gitname" ]]; then
30 cd "$_gitname" && git pull origin
31 msg "The local files are updated."
33 git clone "$_gitroot" "$_gitname"
36 msg "GIT checkout done or server timeout"
37 msg "Starting build..."
39 rm -rf "$srcdir/$_gitname-build"
40 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
41 cd "$srcdir/$_gitname-build"
46 cmake . -DARX_USE_UNITYBUILD=1
47 make -j`getconf _NPROCESSORS_ONLN`
51 cd "$srcdir/$_gitname-build"
52 mkdir -p "$pkgdir/opt/arxfatalis/"
53 cp -p bin/arx "$pkgdir/opt/arxfatalis/"
56 # vim:set ts=2 sw=2 et: