1 # Maintainer: Brad Fanella <bradfanella@archlinux.us>
2 # Contributor: Karl Kochs <captainhaggy at i2pmail dot org>
7 pkgdesc="Client for The Mana World (TMW)."
9 url="http://manasource.org/"
11 depends=('curl' 'guichan' 'enet' 'libgl' 'libxml2' 'physfs' 'sdl_gfx' 'sdl_image' 'sdl_mixer' 'sdl_net' 'sdl_ttf')
19 _gitroot=git://gitorious.org/mana/mana.git
24 msg "Connecting to GIT server...."
26 if [ -d $_gitname ] ; then
27 cd $_gitname && git pull origin
28 msg "The local files are updated."
30 git clone $_gitroot $_gitname
33 msg "GIT checkout done or server timeout"
34 msg "Starting make..."
36 rm -rf ${srcdir}/$_gitname-build
37 cp -r ${srcdir}/$_gitname ${srcdir}/$_gitname-build
39 cd ${srcdir}/$_gitname-build
45 cd ${srcdir}/$_gitname-build
46 make DESTDIR=${pkgdir} install