summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Melik2023-03-18 05:13:40 +0100
committer Willy Sudiarto Raharjo2023-03-25 04:01:47 +0100
commit599e8f5cd400f82f60b49c68820ff073cc9c1912 (patch)
treed4731c8c335260b5460f5e5a8be07f75bb0bcce7
parenta258070b8a1bdc29bc11c2d355b386ea097e55e9 (diff)
downloadslackbuilds-599e8f5cd400f82f60b49c68820ff073cc9c1912.tar.gz
games/tome-ah: Updated for version 20230210_2209ab8.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/tome-ah/README11
-rw-r--r--games/tome-ah/tome-ah.SlackBuild16
-rw-r--r--games/tome-ah/tome-ah.info6
-rw-r--r--games/tome-ah/tome-gcu.sh (renamed from games/tome-ah/tome.sh)6
-rw-r--r--games/tome-ah/tome-gtk2.sh6
-rw-r--r--games/tome-ah/tome-x11.sh6
6 files changed, 33 insertions, 18 deletions
diff --git a/games/tome-ah/README b/games/tome-ah/README
index e9392fdc23..ac1b2ad75a 100644
--- a/games/tome-ah/README
+++ b/games/tome-ah/README
@@ -1,13 +1,12 @@
ToME-ah (AnonymousHero's ToME fork) is a game that emphasizes intricate,
challenging, and varied gameplay over graphics. Hundreds of different
monsters in randomly-generated, unpredictable dungeons will strive to
-slay you by various means, and you counter - if you survive - by
-developing the skills of your choice and wielding mighty artifacts.
+slay you by various means, and you counter--if you survive--by develop-
+ing the skills of your choice and wielding mighty artifacts.
-forum:
-http://forums.te4.org/viewforum.php?f=28&sid=2f757a7105dcbcd648ccf0c5663
-34dc5
+forum (URL continues on next line): http://forums.te4.org/viewforum.php?
+f=28&sid=2f757a7105dcbcd648ccf0c566334dc5
Usenet newsgroup: nntp://rec.games.roguelike.angband
-You can install ToME-SX alongside other ToME 2 forks, but must back up,
+You can install ToME-ah alongside other ToME2 versions, but must backup,
delete save folder (~/.tome) between different games.
diff --git a/games/tome-ah/tome-ah.SlackBuild b/games/tome-ah/tome-ah.SlackBuild
index 4f6d7ce1b5..1ec74828d4 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 2017, SlackBuilds.org Project, David Melik, Spokane, WA, USA
+# Copyright 2023, 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:-20220224_d25bdae}
+VERSION=${VERSION:-20230210_2209ab8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -96,12 +96,16 @@ cd build
make install DESTDIR=$PKG
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
+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.sh $PKG/usr/share/games/$PRGNAM/bin/tome.sh
+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
mkdir -p $PKG/usr/games
-ln -fs /usr/share/games/$PRGNAM/bin/tome.sh $PKG/usr/games/$PRGNAM
+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
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 7aa91c9bd0..44fb840f99 100644
--- a/games/tome-ah/tome-ah.info
+++ b/games/tome-ah/tome-ah.info
@@ -1,8 +1,8 @@
PRGNAM="tome-ah"
-VERSION="20220224_d25bdae"
+VERSION="20230210_2209ab8"
HOMEPAGE="https://github.com/tome2/"
-DOWNLOAD="https://github.com/tome2/tome2/archive/d25bdae09bffea46ac54e51b99b2c166d9be7db8/tome2-d25bdae09bffea46ac54e51b99b2c166d9be7db8.tar.gz"
-MD5SUM="11958229a62b4981b748109c5ea863f0"
+DOWNLOAD="https://github.com/tome2/tome2/archive/2209ab83f31967b6ca0b1ba6ef298bde5a82fbd4/tome2-2209ab83f31967b6ca0b1ba6ef298bde5a82fbd4.tar.gz"
+MD5SUM="9f2a489e969ee5a1dad2b6ea9aaf86e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/games/tome-ah/tome.sh b/games/tome-ah/tome-gcu.sh
index d71e45b553..b0cc67e6c7 100644
--- a/games/tome-ah/tome.sh
+++ b/games/tome-ah/tome-gcu.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-USERDIR=$(pwd)
+#USERDIR=$(pwd)
GAMES_TOME=/usr/share/games/tome-ah/bin
cd $GAMES_TOME
-exec ${GAMES_TOME}/tome "$@"
-cd $USERDIR
+exec ${GAMES_TOME}/tome-gcu "$@"
+#cd $USERDIR
diff --git a/games/tome-ah/tome-gtk2.sh b/games/tome-ah/tome-gtk2.sh
new file mode 100644
index 0000000000..92ea326c22
--- /dev/null
+++ b/games/tome-ah/tome-gtk2.sh
@@ -0,0 +1,6 @@
+#!/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
new file mode 100644
index 0000000000..59e19c244f
--- /dev/null
+++ b/games/tome-ah/tome-x11.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+#USERDIR=$(pwd)
+GAMES_TOME=/usr/share/games/tome-ah/bin
+cd $GAMES_TOME
+exec ${GAMES_TOME}/tome-x11 "$@"
+#cd $USERDIR