5 pkgdesc="An alternative tibia client for otserv"
6 url="https://github.com/edubart/otclient"
9 depends=('lua' 'boost' 'physfs' 'mesa' 'gmp' 'zlib' 'glew')
10 makedepends=('git' 'cmake')
12 _gitroot=git://github.com/edubart/otclient.git
14 cmake_options="-DHANDLE_EXCEPTIONS=ON -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo"
18 if [[ -d $_gitname ]]; then
22 git submodule foreach git pull origin master
24 git clone $_gitroot $_gitname
34 cmake -DCMAKE_INSTALL_PREFIX=/usr ${cmake_options} ..
39 cd $srcdir/$_gitname/build
40 make DESTDIR=$pkgdir install