diff options
author | Philip Lacroix <philnx@bluebottle.com> | 2014-03-10 08:30:33 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-03-12 12:42:49 -0500 |
commit | 679317944c7bb9c84a529f98d4a253d2bd48dcf5 (patch) | |
tree | 4e7fb7bcb31c29633bfd2c8f3619e8ee8bd3ba4f /games | |
parent | 3af05a73db97e5fc081f91f9aba96cb589d69236 (diff) |
games/fgo: Updated for version 1.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/fgo/CHANGELOG | 7 | ||||
-rw-r--r-- | games/fgo/README | 3 | ||||
-rw-r--r-- | games/fgo/fgo.SlackBuild | 24 | ||||
-rw-r--r-- | games/fgo/fgo.info | 6 |
4 files changed, 22 insertions, 18 deletions
diff --git a/games/fgo/CHANGELOG b/games/fgo/CHANGELOG new file mode 100644 index 0000000000000..e21f1ad0fe704 --- /dev/null +++ b/games/fgo/CHANGELOG @@ -0,0 +1,7 @@ +Changes to this SlackBuild since previous FGo! version (1.4.5) + +- Script modified according to new icon names and path. If you are building + a package for a version of FGo! older than 1.5.0, icons will not be linked + correctly: in that case please modify this script accordingly, or use its + previous version, or (recommended) download the latest FGo! release. +- Removed "presets", as they aren't included in the upstream package anyway. diff --git a/games/fgo/README b/games/fgo/README index 7be51dd15696e..aa49fe430981c 100644 --- a/games/fgo/README +++ b/games/fgo/README @@ -4,3 +4,6 @@ where users can select an aircraft, airport, runway, parking position and scenario, with a text window which provides a way to specify more advanced command-line options that will be passed to FlightGear. These features allow FGo! to keep a simple, yet powerful design. + +NOTE: If you intend to use this SlackBuild for a version of FGo! older +than 1.5.0, please read the CHANGELOG file included in this package.
\ No newline at end of file diff --git a/games/fgo/fgo.SlackBuild b/games/fgo/fgo.SlackBuild index 57f64c18a02e6..03e794b1048d5 100644 --- a/games/fgo/fgo.SlackBuild +++ b/games/fgo/fgo.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for FGo! -# Copyright 2013 Philip Lacroix <philnx at bluebottle dot com> +# Copyright 2013-2014 Philip Lacroix <philnx at bluebottle dot com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fgo -VERSION=${VERSION:-1.4.5} +VERSION=${VERSION:-1.5.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -73,30 +73,24 @@ mkdir -p $PRGSHR/applications/ cat $CWD/$PRGNAM.desktop > $PRGSHR/applications/$PRGNAM.desktop # Symlinks to icons -for size in 32 48 64 128 ; do - mkdir -p $PRGSHR/icons/hicolor/${size}x${size}/apps - ln -sf /opt/$PRGNAM/data/pics/icon${size}.png \ - $PRGSHR/icons/hicolor/${size}x${size}/apps/$PRGNAM.png +for size in 16x16 24x24 32x32 48x48 64x64 128x128 256x256 scalable +do + if [ "${size}" != "scalable" ]; then EX=png ; else EX=svg ; fi + mkdir -p $PRGSHR/icons/hicolor/${size}/apps + ln -sf /opt/$PRGNAM/data/pics/icons/${size}/$PRGNAM.$EX \ + $PRGSHR/icons/hicolor/${size}/apps/ done -mkdir -p $PRGSHR/icons/hicolor/scalable/apps -ln -sf /opt/$PRGNAM/data/pics/icon.svg \ - $PRGSHR/icons/hicolor/scalable/apps/$PRGNAM.svg # Copy documentation, replace broken symlinks mkdir -p $PRGDOC cp -a $PRGDIR/docs/* $PRGDOC rm -f $PRGDOC/README/* -cp -a $PRGDIR/data/help/* $PRGDOC/README +cp -a $PRGDIR/data/help/* $PRGDOC/README/ # Symlink to config directory mkdir -p $PRGETC ln -sf /opt/$PRGNAM/data/config $PRGETC -# Set some basic variables (paths to fgfs and shared data) -cat $CWD/$PRGNAM.presets > $CWD/presets.tmp -cat $PRGDIR/data/config/presets >> $CWD/presets.tmp -mv $CWD/presets.tmp $PRGDIR/data/config/presets - # Don't clobber config files CONFIG=${CONFIG:-$PRGDIR/data/config} for lang in de en es fr it pl ; do diff --git a/games/fgo/fgo.info b/games/fgo/fgo.info index 35ecda2b66a19..730433bd3c732 100644 --- a/games/fgo/fgo.info +++ b/games/fgo/fgo.info @@ -1,8 +1,8 @@ PRGNAM="fgo" -VERSION="1.4.5" +VERSION="1.5.1" HOMEPAGE="http://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo" -DOWNLOAD="https://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo/download/fgo-1.4.5.tar.gz" -MD5SUM="48336087a41e23b87e134b37c39742e9" +DOWNLOAD="https://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo/download/fgo-1.5.1.tar.gz" +MD5SUM="9ccefd048d1dd1ff7c6dcc87826ab0c8" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="FlightGear" |