mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
26 lines
884 B
Bash
26 lines
884 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Maintainer: William Rea <sillywilly@gmail.com>
|
|
# Contributor: Hans Janssen <hans@janserv.xs4all.nl>
|
|
|
|
pkgname=flightgear
|
|
pkgver=1.9.1
|
|
pkgrel=2.2
|
|
pkgdesc="An open-source, multi-platform flight simulator"
|
|
arch=(i686 x86_64)
|
|
depends=('simgear' 'libxmu' 'libxi' 'zlib' 'flightgear-data' 'openscenegraph')
|
|
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=('ae83c05ba70841d6706908276bc960fd')
|
|
|
|
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
|
|
}
|