diff options
Diffstat (limited to 'community-testing/flightgear')
-rw-r--r-- | community-testing/flightgear/PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community-testing/flightgear/PKGBUILD b/community-testing/flightgear/PKGBUILD new file mode 100644 index 000000000..439e47c9c --- /dev/null +++ b/community-testing/flightgear/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 54030 2011-08-11 23:28:19Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: William Rea <sillywilly@gmail.com> +# Contributor: Hans Janssen <hans@janserv.xs4all.nl> + +pkgname=flightgear +pkgver=2.4.0 +pkgrel=1 +pkgdesc="An open-source, multi-platform flight simulator" +arch=(i686 x86_64) +depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion') # 'flightgear-data') +makedepends=('boost') +license=("GPL") +url="http://www.flightgear.org" +options=('!makeflags') +source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver") +md5sums=('eb8d1ed8b1de5f1ac7926c9d0c2f37f8') + +build() { + cd $srcdir/fg-flightgear +# [ $NOEXTRACT -eq 1 ] || find -name \*.c\* -exec sed -i '1,2i#include <stdio.h>' {} \; +# [ $NOEXTRACT -eq 1 ] || find -name \*.c\* -exec sed -i '1,2i#include <GL/glu.h>' {} \; + [ -x configure ] || ./autogen.sh + [ -f Makefile ] || ./configure --prefix=/usr + make +} + +package() { + depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'flightgear-data') + cd $srcdir/fg-flightgear + make DESTDIR=$pkgdir install +} |