1 # Maintainer: A. Weiss <adam [at] archlinux.us>
6 pkgdesc="A terrain rendering toolkit for OpenSceneGraph"
8 url=('http://www.osgearth.org')
10 depends=('openscenegraph-svn' 'gdal' 'expat' 'curl')
11 optdepends=('geos: Imrpoved vector support'
12 'sqlite: Flat file cache'
13 'libzip: Archive support')
14 makedepends=('git' 'cmake')
16 conflicts=('osgearth')
18 _gitroot='git://github.com/gwaldron/osgearth.git'
25 msg "Connecting to $_gitname GIT server...."
27 if [[ -d $_gitname ]] ; then
28 cd $_gitname && git pull origin
29 msg "The local files are updated."
34 msg "GIT checkout done or server timeout"
41 msg "Starting make..."
44 -DCMAKE_INSTALL_PREFIX=/usr \
45 -DCMAKE_BUILD_TYPE=Release
51 make DESTDIR=$pkgdir install
52 mkdir -p $pkgdir/usr/share/osgearth
53 cp -r $srcdir/$_gitname/tests $pkgdir/usr/share/osgearth
54 cp -r $srcdir/$_gitname/data $pkgdir/usr/share/osgearth