1 # Maintainer: Pascal <p.groschwitz@googlemail.com>
2 # Contributor: Pascal Groschwitz <p.groschwitz@googlemail.com>
6 pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications."
8 url="http://simgear.sourceforge.net/"
10 depends=('glut' 'freealut' 'plib' 'openscenegraph-svn' 'boost>=1.37')
13 provides=('simgear-git')
16 _gitroot="git://gitorious.org/fg/simgear.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 rm -rf "$srcdir/$_gitname-build"
34 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
35 cd "$srcdir/$_gitname-build"
38 ./configure --prefix=/usr/
41 make DESTDIR="$pkgdir/" install