1 # Maintainer: Lubosz Sarnecki <lubosz at gmail>
6 pkgdesc='Cross-platform port of Arx Fatalis.'
8 url='https://github.com/arx/ArxLibertatis'
10 depends=('sdl' 'devil' 'openal' 'zlib' 'boost' 'glew' 'mesa' 'libgl')
11 makedepends=('git' 'cmake')
18 _gitroot="git://github.com/arx/ArxLibertatis.git"
19 _gitname="ArxLibertatis"
24 msg "Connecting to github...."
25 if [[ -d ${srcdir}/${_gitname} ]] ; then
28 msg "The local files are updated..."
35 if [[ -d ${srcdir}/${_gitname}-build ]]; then
36 msg "Cleaning the previous build directory..."
37 rm -rf ${srcdir}/${_gitname}-build
40 git clone ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
42 cd ${srcdir}/${_gitname}-build
44 msg "Starting cmake for: ${pkgname}"
46 -DCMAKE_INSTALL_PREFIX=/usr
52 cd ${srcdir}/${_gitname}-build
53 make DESTDIR=$pkgdir install || return 1