games/FlightGear: Updated for version 2017.1.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Panagiotis Nikolaou 2017-03-04 07:11:29 +07:00 committed by Willy Sudiarto Raharjo
parent 10259a88f3
commit b75e8023cc
5 changed files with 39 additions and 5 deletions

View file

@ -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}

View file

@ -0,0 +1,11 @@
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=FlightGear
GenericName=FlightGear
Comment=FlightGear Launcher
Exec=fgfs --launcher
Icon=/usr/share/icons/hicolor/64x64/apps/FlightGear.png
Terminal=false
Type=Application
Categories=Game;

View file

@ -1,10 +1,10 @@
PRGNAM="FlightGear"
VERSION="2016.4.4"
VERSION="2017.1.1"
HOMEPAGE="http://www.flightgear.org/"
DOWNLOAD="https://downloads.sourceforge.net/project/flightgear/release-2016.4/flightgear-2016.4.4.tar.bz2"
MD5SUM="b1a1f12786debaaf8970595cad98d59f"
DOWNLOAD="https://downloads.sourceforge.net/project/flightgear/release-2017.1/flightgear-2017.1.1.tar.bz2"
MD5SUM="0e190ff6b824d02e968bc28bf738f9d9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="FlightGear-data SimGear"
REQUIRES="FlightGear-data SimGear plib"
MAINTAINER="Panagiotis Nikolaou"
EMAIL="hostmaster@slackonly.com"

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

View file

@ -0,0 +1,13 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi