summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2022-02-22 18:34:20 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-23 20:10:26 +0700
commit8555bf62fd742f834d8460ea4a84dffe1c9286d4 (patch)
treedfac1f810dc870fd3af89bc260013cdf030966a2 /games
parent880e5c053d7c04f593c8014cb21a9d4bf37e4f67 (diff)
downloadslackbuilds-8555bf62fd742f834d8460ea4a84dffe1c9286d4.tar.gz
slackbuilds-8555bf62fd742f834d8460ea4a84dffe1c9286d4.tar.xz
games/fgo: Fix download URL.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/fgo/fgo.SlackBuild9
-rw-r--r--games/fgo/fgo.info2
2 files changed, 4 insertions, 7 deletions
diff --git a/games/fgo/fgo.SlackBuild b/games/fgo/fgo.SlackBuild
index 592b0f91d3..b4b342276e 100644
--- a/games/fgo/fgo.SlackBuild
+++ b/games/fgo/fgo.SlackBuild
@@ -38,9 +38,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
@@ -56,15 +53,15 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.gz
cd $PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
PRGDIR=$PKG/opt/$PRGNAM
PRGDAT=$PKG/opt/$PRGNAM/data
diff --git a/games/fgo/fgo.info b/games/fgo/fgo.info
index 57873142bf..3ef7219601 100644
--- a/games/fgo/fgo.info
+++ b/games/fgo/fgo.info
@@ -1,7 +1,7 @@
PRGNAM="fgo"
VERSION="1.5.5"
HOMEPAGE="https://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo"
-DOWNLOAD="https://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo/download/fgo-1.5.5.tar.gz"
+DOWNLOAD="http://http.debian.net/debian/pool/main/f/fgo/fgo_1.5.5.orig.tar.gz"
MD5SUM="66e61f14437bfa0f2654ff62c6f9009a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""