# $Id$ # Maintainer: Sergej Pupykin # Maintainer: William Rea # Contributor: Hans Janssen pkgname=simgear pkgver=2016.1.0git pkgrel=1 pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications." arch=(i686 x86_64) depends=('glu' 'glut' 'freealut' 'plib' 'openscenegraph') makedepends=('boost' 'cmake' 'mesa' 'git') license=("GPL") url="http://www.flightgear.org/" options=('!makeflags' 'staticlibs') #source=("http://downloads.sourceforge.net/project/flightgear/release-${pkgver}/${pkgname}-${pkgver}.tar.bz2") source=("git://git.code.sf.net/p/flightgear/simgear#commit=b91d1a3f6a1ab144c8c63566853691860b0a9cd4") md5sums=('SKIP') build() { cd $srcdir/simgear cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib . make } package() { cd $srcdir/simgear make DESTDIR=$pkgdir install }