summaryrefslogtreecommitdiff
path: root/community/flightgear
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-21 00:02:00 +0000
committerroot <root@rshg054.dnsready.net>2012-05-21 00:02:00 +0000
commitd9687afd09db8b04c5ae90edf22df599532256c6 (patch)
tree80010661172356246dbc1eb904f689876a5fa521 /community/flightgear
parentaad2fba0fc475162b566f1577d8e7a020cd9e80d (diff)
Mon May 21 00:02:00 UTC 2012
Diffstat (limited to 'community/flightgear')
-rw-r--r--community/flightgear/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/community/flightgear/PKGBUILD b/community/flightgear/PKGBUILD
index b1fb51b41..cf9f8434c 100644
--- a/community/flightgear/PKGBUILD
+++ b/community/flightgear/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 65321 2012-02-21 01:33:57Z spupykin $
+# $Id: PKGBUILD 70923 2012-05-19 18:42:10Z 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.6.0
-pkgrel=3
+pkgrel=4
pkgdesc="An open-source, multi-platform flight simulator"
arch=(i686 x86_64)
depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion')
@@ -20,7 +20,11 @@ md5sums=('943f784f55c7e11ddce6082d2d1dbba4')
build() {
cd $srcdir/flightgear-$pkgver
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
+ sed -i '1,1i#include <unistd.h>' utils/TerraSync/terrasync.cxx
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" .
make
sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop
}