summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Philip Lacroix <slackph at posteo dot de>2023-01-29 13:07:24 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-04 07:19:51 +0700
commit06115041ab983e5a4f2cad9fafe662853d5d3687 (patch)
tree623f117e9bd3eadc899b865c8a4be4b38515e5b6 /games
parentb190e81fc907f13352fdf75931e63ae9468bddc0 (diff)
downloadslackbuilds-06115041ab983e5a4f2cad9fafe662853d5d3687.tar.gz
slackbuilds-06115041ab983e5a4f2cad9fafe662853d5d3687.tar.xz
games/ffgo: Updated for version 1.12.7.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/ffgo/ffgo.SlackBuild14
-rw-r--r--games/ffgo/ffgo.info8
-rw-r--r--games/ffgo/slack-desc2
3 files changed, 11 insertions, 13 deletions
diff --git a/games/ffgo/ffgo.SlackBuild b/games/ffgo/ffgo.SlackBuild
index 9e19a94562..4d3c28d284 100644
--- a/games/ffgo/ffgo.SlackBuild
+++ b/games/ffgo/ffgo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ffgo
-# Copyright 2017 Philip Lacroix <slackph at posteo dot de>
+# Copyright 2017-2023 Philip Lacroix <slackph at posteo dot de>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,8 +26,9 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ffgo
SRCNAM=FFGo
-VERSION=${VERSION:-1.12.3}
-BUILD=${BUILD:-2}
+TARNAM=python3-${SRCNAM}
+VERSION=${VERSION:-1.12.7}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,9 +40,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -63,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvzf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xvzf $CWD/$TARNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
@@ -78,7 +76,7 @@ python3 setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# Grab Python 3 version.
+# See Python 3 version.
PY3VER=$(python3 --version | sed -e "s~.*\(3\.[0-9]*\).*~\1~")
PRGETC=$PKG/etc/$PRGNAM
diff --git a/games/ffgo/ffgo.info b/games/ffgo/ffgo.info
index c2aabc356e..c6e596c9d1 100644
--- a/games/ffgo/ffgo.info
+++ b/games/ffgo/ffgo.info
@@ -1,10 +1,10 @@
PRGNAM="ffgo"
-VERSION="1.12.3"
+VERSION="1.12.7"
HOMEPAGE="http://frougon.net/projects/FFGo"
-DOWNLOAD="http://frougon.net/projects/FFGo/dist/1.12.3/FFGo-1.12.3.tar.gz"
-MD5SUM="ab67e2e83d8829d3f86be907285718c0"
+DOWNLOAD="http://frougon.net/projects/FFGo/dist/1.12.7/python3-FFGo-1.12.7.tar.gz"
+MD5SUM="42715037f3f12cfda97470301f1726ea"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="FlightGear CondConfigParser"
+REQUIRES="FlightGear CondConfigParser GeographicLib geographiclib-python"
MAINTAINER="Philip Lacroix"
EMAIL="slackph at posteo dot de"
diff --git a/games/ffgo/slack-desc b/games/ffgo/slack-desc
index e4beaeeb5c..21a484148a 100644
--- a/games/ffgo/slack-desc
+++ b/games/ffgo/slack-desc
@@ -6,7 +6,7 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-ffgo: ffgo (graphical launcher for FlightGear)
+ffgo: FFGo (graphical launcher for FlightGear)
ffgo:
ffgo: FFGo is a graphical launcher for FlightGear, i.e. a program whose
ffgo: purpose is to allow an easy assembling and running of a fgfs command