summaryrefslogtreecommitdiff
path: root/games/FlightGear/FlightGear.SlackBuild
diff options
context:
space:
mode:
authorPanagiotis Nikolaou <hostmaster@slackonly.com>2017-03-04 07:11:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-03-04 07:19:34 +0700
commitb75e8023cc2cac89e8c9ebb4f1900861ce55d1b5 (patch)
treefc4df8b893a384d1a4f30d7e9df3edbd80ead5c2 /games/FlightGear/FlightGear.SlackBuild
parent10259a88f377f94b06a072341ba858e9b36e4abe (diff)
downloadslackbuilds-b75e8023cc2cac89e8c9ebb4f1900861ce55d1b5.tar.gz
games/FlightGear: Updated for version 2017.1.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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}