1 # Maintainer: Mike Swanson <mikeonthecomputer@gmail.com>
6 pkgdesc="A third-party implementation of the Minecraft SMP server protocol."
8 url="http://mc.kev009.com/craftd"
10 depends=('libevent' 'libconfig' 'pcre')
13 _gitroot=git://github.com/craftd/craftd.git
18 msg "Connecting to GIT server...."
20 if [[ -d "$_gitname" ]]; then
21 cd "$_gitname" && git pull origin
22 msg "The local files are updated."
24 git clone "$_gitroot" "$_gitname"
27 msg "GIT checkout done or server timeout"
28 msg "Starting build..."
30 cd "$srcdir/$_gitname"
33 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
38 cd "$srcdir/$_gitname"
39 make DESTDIR="$pkgdir/" install
42 # vim:set ts=2 sw=2 et: