diff options
author | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-06-29 23:10:39 +0000 |
commit | 5e8a6a470237711ad18f12dde87deea6f2b8b0e0 (patch) | |
tree | 438c05155823f16b71f4277fef949610bf6fe826 /community/flightgear | |
parent | 108636e69eaeef67f4e7263c7f26105e25979e89 (diff) |
Wed Jun 29 23:10:38 UTC 2011
Diffstat (limited to 'community/flightgear')
-rw-r--r-- | community/flightgear/PKGBUILD | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/community/flightgear/PKGBUILD b/community/flightgear/PKGBUILD index 3b8b268d1..5937ef33d 100644 --- a/community/flightgear/PKGBUILD +++ b/community/flightgear/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 15899 2010-04-17 20:43:27Z spupykin $ +# $Id: PKGBUILD 50330 2011-06-28 12:02:03Z 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 +pkgrel=3 pkgdesc="An open-source, multi-platform flight simulator" arch=(i686 x86_64) depends=('simgear' 'libxmu' 'libxi' 'zlib' 'flightgear-data' 'openscenegraph' 'subversion') @@ -13,14 +13,18 @@ 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) +#source=(ftp://ftp.ibiblio.org/pub/mirrors/flightgear/ftp/Source/FlightGear-$pkgver.tar.gz) +source=(http://ftp.linux.kiev.ua/pub/fgfs/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 +} + +package() { + cd $startdir/src/FlightGear-$pkgver make DESTDIR=$startdir/pkg install } |