1 # Maintainer: Karl Kochs <captainhaggy@googlemail.com>
6 pkgdesc="The Mana project builds a complete 2D MMORPG platform. This includes a client, server and web component, as well as a library of free content that you can use under the terms of the GPL. While this project started in 2009, the Mana client, server and web components were formerly being developed as part of The Mana World since 2004. By separating server/client development from a single player community, we hope to achieve better cooperation with alternative Mana server based projects."
8 url="http://manasource.org/"
10 depends=('sqlite' 'lua')
18 _gitroot=git://gitorious.org/mana/manaserv.git
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
29 git clone $_gitroot $_gitname
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf ${srcdir}/$_gitname-build
36 cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
37 cd ${srcdir}/$_gitname-build
41 ./configure --prefix=/usr #--without-opengl
44 make DESTDIR=${pkgdir} install