diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/flightgear/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/flightgear/PKGBUILD')
-rw-r--r-- | community/flightgear/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/flightgear/PKGBUILD b/community/flightgear/PKGBUILD new file mode 100644 index 000000000..3b8b268d1 --- /dev/null +++ b/community/flightgear/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 15899 2010-04-17 20:43:27Z 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.0.0 +pkgrel=2 +pkgdesc="An open-source, multi-platform flight simulator" +arch=(i686 x86_64) +depends=('simgear' 'libxmu' 'libxi' 'zlib' 'flightgear-data' 'openscenegraph' 'subversion') +makedepends=('boost') +license=("GPL") +url="http://www.flightgear.org" +options=('!makeflags') +source=(ftp://ftp.ibiblio.org/pub/mirrors/flightgear/ftp/Source/FlightGear-$pkgver.tar.gz) +md5sums=('549aa45171480082f5b6e5e8d5ce8930') + +build() { + cd $startdir/src/FlightGear-$pkgver + + [ $NOEXTRACT -eq 1 ] || find -name \*.c\* -exec sed -i '1,2i#include <stdio.h>' {} \; + [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr + make || return 1 + make DESTDIR=$startdir/pkg install +} |