1 # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
6 pkgdesc="GIT version of The Mana World (TMW) - a serious effort to create an innovative free and open source MMORPG."
8 url="http://themanaworld.org/"
10 depends=('curl' 'guichan' 'enet' 'libgl' 'libxml2' 'physfs' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf')
12 optdepends=('tmwmusic: game music')
14 conflicts=('tmw' 'tmw-svn')
18 _gitroot=git://gitorious.org/tmw/mainline.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