1 # Maintainer: Nicola Bignami
3 pkgname=fgms-git-stable
6 pkgdesc="FlightGear Multiplayer Server - stable branch from GIT"
8 url="http://fgms.sourceforge.net"
11 makedepends=('git' 'autoconf' 'automake' 'make' 'libtool' 'gcc')
14 install='fgms.install'
16 _gitroot="http://git.gitorious.org/fgms/fgms-0-x.git"
21 msg "Connecting to GIT server...."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
33 cd "$srcdir/$_gitname"
36 ./configure --prefix=/usr --sysconfdir=/etc
41 cd "$srcdir/$_gitname"
42 make DESTDIR="$pkgdir" install