summaryrefslogtreecommitdiff
path: root/community/simgear/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/simgear/PKGBUILD')
-rw-r--r--community/simgear/PKGBUILD25
1 files changed, 15 insertions, 10 deletions
diff --git a/community/simgear/PKGBUILD b/community/simgear/PKGBUILD
index 2b688116e..47fb6260e 100644
--- a/community/simgear/PKGBUILD
+++ b/community/simgear/PKGBUILD
@@ -1,28 +1,33 @@
-# $Id: PKGBUILD 50327 2011-06-28 11:35:39Z spupykin $
+# $Id: PKGBUILD 54019 2011-08-11 20:22:33Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: William Rea <sillywilly@gmail.com>
# Contributor: Hans Janssen <hans@janserv.xs4all.nl>
pkgname=simgear
-pkgver=2.0.0
-pkgrel=3
+pkgver=2.4.0
+pkgrel=1
pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications."
arch=(i686 x86_64 'mips64el')
depends=('glut' 'freealut' 'plib' 'openscenegraph')
makedepends=('boost')
license=("GPL")
-url="http://www.simgear.org"
+#url="http://www.simgear.org"
+url="https://gitorious.org/fg"
options=('!makeflags')
-source=(ftp://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/SimGear-$pkgver.tar.gz)
-md5sums=('414bea545ea1e8ce17e4aa0809159cec')
+source=("SimGear-$pkgver.tar.gz::https://gitorious.org/fg/simgear/archive-tarball/release/$pkgver"
+ build-fix.patch)
+md5sums=('e2c6fab13a74cd42992f8cfd5ad46cde'
+ '905a05cc1364c067b3b9574d41cef7fa')
build() {
- cd $startdir/src/SimGear-$pkgver
- ./configure --prefix=/usr
+ cd $srcdir/fg-simgear
+# patch -p1 <$srcdir/build-fix.patch
+ [ -x configure ] || ./autogen.sh
+ [ -f Makefile ] || ./configure --prefix=/usr
make
}
package() {
- cd $startdir/src/SimGear-$pkgver
- make DESTDIR=$startdir/pkg install
+ cd $srcdir/fg-simgear
+ make DESTDIR=$pkgdir install
}