aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2024-09-27 21:43:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-27 23:21:10 +0700
commitaa0147603640c378242fb1f1ae6bfa047976e15a (patch)
tree1efb31e893edb09ce9eec623b7a223cf3056c0d5
parentfd9b69b942a819f015ed0c56ebc5052c63f9a314 (diff)
games/tome-ah: Updated for version 20240912_203c8c1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/tome-ah/tome-ah.SlackBuild17
-rw-r--r--games/tome-ah/tome-ah.info6
-rw-r--r--games/tome-ah/tome-gcu.sh6
-rw-r--r--games/tome-ah/tome-gtk2.sh6
-rw-r--r--games/tome-ah/tome-x11.sh6
-rw-r--r--games/tome-ah/tome.sh13
6 files changed, 22 insertions, 32 deletions
diff --git a/games/tome-ah/tome-ah.SlackBuild b/games/tome-ah/tome-ah.SlackBuild
index 1ec74828d4..3c9bc088d4 100644
--- a/games/tome-ah/tome-ah.SlackBuild
+++ b/games/tome-ah/tome-ah.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for tome-ah
-# Copyright 2023, SlackBuilds.org Project, David Melik, Spokane, WA, USA
+# Copyright 2024, SlackBuilds.org Project, David Melik, Spokane, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tome-ah
-VERSION=${VERSION:-20230210_2209ab8}
+VERSION=${VERSION:-20240912_203c8c1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -42,9 +42,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
@@ -99,13 +96,11 @@ cd -
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
-install -m 0755 $CWD/tome-gcu.sh $PKG/usr/share/games/$PRGNAM/bin/tome-gcu.sh
-install -m 0755 $CWD/tome-gtk2.sh $PKG/usr/share/games/$PRGNAM/bin/tome-gtk2.sh
-install -m 0755 $CWD/tome-x11.sh $PKG/usr/share/games/$PRGNAM/bin/tome-x11.sh
+install -m 0755 $CWD/tome.sh $PKG/usr/share/games/$PRGNAM/bin/tome.sh
mkdir -p $PKG/usr/games
-ln -fs /usr/share/games/$PRGNAM/bin/tome-gcu.sh $PKG/usr/games/tome-gcu-ah
-ln -fs /usr/share/games/$PRGNAM/bin/tome-gtk2.sh $PKG/usr/games/tome-gtk2-ah
-ln -fs /usr/share/games/$PRGNAM/bin/tome-x11.sh $PKG/usr/games/tome-x11-ah
+ln -fs /usr/share/games/$PRGNAM/bin/tome.sh $PKG/usr/games/tome-ah-gcu
+ln -fs /usr/share/games/$PRGNAM/bin/tome.sh $PKG/usr/games/tome-ah-gtk2
+ln -fs /usr/share/games/$PRGNAM/bin/tome.sh $PKG/usr/games/tome-ah-x11
find $PKG -name "delete.me" | xargs rm -f
find $PKG -name ".cvsignore" | xargs rm -f
diff --git a/games/tome-ah/tome-ah.info b/games/tome-ah/tome-ah.info
index 44fb840f99..6574880854 100644
--- a/games/tome-ah/tome-ah.info
+++ b/games/tome-ah/tome-ah.info
@@ -1,8 +1,8 @@
PRGNAM="tome-ah"
-VERSION="20230210_2209ab8"
+VERSION="20240912_203c8c1"
HOMEPAGE="https://github.com/tome2/"
-DOWNLOAD="https://github.com/tome2/tome2/archive/2209ab83f31967b6ca0b1ba6ef298bde5a82fbd4/tome2-2209ab83f31967b6ca0b1ba6ef298bde5a82fbd4.tar.gz"
-MD5SUM="9f2a489e969ee5a1dad2b6ea9aaf86e6"
+DOWNLOAD="https://github.com/tome2/tome2/archive/203c8c1/tome2-203c8c1d8e180607d99d27c70e233dcc41fa3970.tar.gz"
+MD5SUM="d249570309631b3b7d390f0b4a963a20"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/tome-ah/tome-gcu.sh b/games/tome-ah/tome-gcu.sh
deleted file mode 100644
index b0cc67e6c7..0000000000
--- a/games/tome-ah/tome-gcu.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-#USERDIR=$(pwd)
-GAMES_TOME=/usr/share/games/tome-ah/bin
-cd $GAMES_TOME
-exec ${GAMES_TOME}/tome-gcu "$@"
-#cd $USERDIR
diff --git a/games/tome-ah/tome-gtk2.sh b/games/tome-ah/tome-gtk2.sh
deleted file mode 100644
index 92ea326c22..0000000000
--- a/games/tome-ah/tome-gtk2.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-#USERDIR=$(pwd)
-GAMES_TOME=/usr/share/games/tome-ah/bin
-cd $GAMES_TOME
-exec ${GAMES_TOME}/tome-gtk2 "$@"
-#cd $USERDIR
diff --git a/games/tome-ah/tome-x11.sh b/games/tome-ah/tome-x11.sh
deleted file mode 100644
index 59e19c244f..0000000000
--- a/games/tome-ah/tome-x11.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-#USERDIR=$(pwd)
-GAMES_TOME=/usr/share/games/tome-ah/bin
-cd $GAMES_TOME
-exec ${GAMES_TOME}/tome-x11 "$@"
-#cd $USERDIR
diff --git a/games/tome-ah/tome.sh b/games/tome-ah/tome.sh
new file mode 100644
index 0000000000..a099c14da8
--- /dev/null
+++ b/games/tome-ah/tome.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+GAMES_TOME=/usr/share/games/tome-ah/bin
+case $(basename $0) in
+ tome-ah-gcu)
+ exec ${GAMES_TOME}/tome-gcu "$@"
+ ;;
+ tome-ah-gtk2)
+ exec ${GAMES_TOME}/tome-gtk2 "$@"
+ ;;
+ tome-ah-x11)
+ exec ${GAMES_TOME}/tome-x11 "$@"
+ ;;
+ esac