summaryrefslogtreecommitdiff
path: root/games/FlightGear/FlightGear.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/FlightGear/FlightGear.SlackBuild')
-rw-r--r--games/FlightGear/FlightGear.SlackBuild12
1 files changed, 11 insertions, 1 deletions
diff --git a/games/FlightGear/FlightGear.SlackBuild b/games/FlightGear/FlightGear.SlackBuild
index fd972f87e3..c6ace018fe 100644
--- a/games/FlightGear/FlightGear.SlackBuild
+++ b/games/FlightGear/FlightGear.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=FlightGear
SRCNAM=flightgear
-VERSION=${VERSION:-2016.4.4}
+VERSION=${VERSION:-2017.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -108,5 +108,15 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+# Add a desktop entry for the GUI launcher
+case "$QT5" in
+ yes) install -D -m0644 $CWD/FlightGear.desktop \
+ $PKG/usr/share/applications/FlightGear.desktop
+ install -D -m0644 $CWD/FlightGear.png \
+ $PKG/usr/share/icons/hicolor/64x64/apps/FlightGear.png
+ cat $CWD/doinst.sh > $PKG/install/doinst.sh
+;;
+esac
+
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}