diff options
Diffstat (limited to 'community/flightgear/PKGBUILD')
-rw-r--r-- | community/flightgear/PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/community/flightgear/PKGBUILD b/community/flightgear/PKGBUILD index d029315a7..5cd15184b 100644 --- a/community/flightgear/PKGBUILD +++ b/community/flightgear/PKGBUILD @@ -1,15 +1,15 @@ -# $Id: PKGBUILD 90024 2013-05-06 19:36:54Z foutrelis $ +# $Id: PKGBUILD 92437 2013-06-05 11:05:37Z 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.10.0 -pkgrel=2 +pkgrel=3 pkgdesc="An open-source, multi-platform flight simulator" arch=(i686 x86_64) depends=('simgear' 'libxmu' 'libxi' 'zlib' 'openscenegraph' 'subversion' 'libxrandr' 'glu') -makedepends=('boost' 'cmake' 'mesa') +makedepends=('boost' 'cmake' 'mesa' 'sharutils') license=("GPL") url="http://www.flightgear.org" options=('!makeflags') @@ -24,6 +24,7 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DFG_DATA_DIR:STRING="/usr/share/flightgear/data" . + uudecode -o package/flightgear.png package/flightgear.png.uue make sed -i 's|Exec=.*|Exec=fgfs --fg-root=/usr/share/flightgear/data|' package/flightgear.desktop } @@ -36,5 +37,6 @@ package() { install -Dm0644 package/flightgear.desktop $pkgdir/usr/share/applications/flightgear.desktop install -Dm0644 package/flightgear.ico $pkgdir/usr/share/icons/flightgear.ico + install -Dm0644 package/flightgear.png $pkgdir/usr/share/icons/flightgear.png ln -sf flightgear $pkgdir/usr/share/FlightGear } |