summaryrefslogtreecommitdiff
path: root/community/flightgear/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/flightgear/PKGBUILD')
-rw-r--r--community/flightgear/PKGBUILD26
1 files changed, 14 insertions, 12 deletions
diff --git a/community/flightgear/PKGBUILD b/community/flightgear/PKGBUILD
index 5937ef33d..439e47c9c 100644
--- a/community/flightgear/PKGBUILD
+++ b/community/flightgear/PKGBUILD
@@ -1,30 +1,32 @@
-# $Id: PKGBUILD 50330 2011-06-28 12:02:03Z spupykin $
+# $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.0.0
-pkgrel=3
+pkgver=2.4.0
+pkgrel=1
pkgdesc="An open-source, multi-platform flight simulator"
arch=(i686 x86_64)
-depends=('simgear' 'libxmu' 'libxi' 'zlib' 'flightgear-data' 'openscenegraph' 'subversion')
+depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion') # 'flightgear-data')
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=(http://ftp.linux.kiev.ua/pub/fgfs/Source/FlightGear-$pkgver.tar.gz)
-md5sums=('549aa45171480082f5b6e5e8d5ce8930')
+source=("$pkgname-$pkgver.tar.gz::https://gitorious.org/fg/flightgear/archive-tarball/release/$pkgver")
+md5sums=('eb8d1ed8b1de5f1ac7926c9d0c2f37f8')
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
+ 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() {
- cd $startdir/src/FlightGear-$pkgver
- make DESTDIR=$startdir/pkg install
+ depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'flightgear-data')
+ cd $srcdir/fg-flightgear
+ make DESTDIR=$pkgdir install
}