testing/flightgear: enable dbg subpkg, add post-install

This commit is contained in:
Leonardo Arena 2018-05-31 13:34:23 +00:00
parent 8b034c5b79
commit 1add8b4d97
2 changed files with 13 additions and 3 deletions

View File

@ -2,7 +2,7 @@
# Maintainer:
pkgname=flightgear
pkgver=2018.2.1
pkgrel=0
pkgrel=1
pkgdesc="Sophisticated flight simulator"
url="http://flightgear.org"
arch="all !aarch64"
@ -11,8 +11,8 @@ makedepends="$depends_dev boost-dev cmake curl-dev dbus-dev eudev-dev
freeglut-dev glew-dev libx11-dev libxi-dev libxmu-dev mesa-dev
openal-soft-dev openscenegraph-dev plib qt5-qtbase-dev
qt5-qtdeclarative-dev simgear zlib-dev"
install=
subpackages="$pkgname-doc"
install="$pkgname.post-install"
subpackages="$pkgname-doc $pkgname-dbg"
source="http://downloads.sourceforge.net/project/$pkgname/release-${pkgver%.[1-9]*}/$pkgname-$pkgver.tar.bz2
musl-fixes.patch
"

View File

@ -0,0 +1,10 @@
#!/bin/sh
echo
echo " Please download the flightgear-data-VERSION.tar.bz2 file at:"
echo
echo " http://downloads.sourceforge.net/project/flightgear"
echo
echo " and extract it in /var/lib/flightgear"
echo " before running the program or change its location"
echo " by setting the variable FG_ROOT"
echo