aboutsummaryrefslogtreecommitdiff
path: root/games/tome-ah/tome-ah.SlackBuild
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2023-03-18 04:13:40 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-25 10:01:47 +0700
commit599e8f5cd400f82f60b49c68820ff073cc9c1912 (patch)
treed4731c8c335260b5460f5e5a8be07f75bb0bcce7 /games/tome-ah/tome-ah.SlackBuild
parenta258070b8a1bdc29bc11c2d355b386ea097e55e9 (diff)
games/tome-ah: Updated for version 20230210_2209ab8.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/tome-ah/tome-ah.SlackBuild')
-rw-r--r--games/tome-ah/tome-ah.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/games/tome-ah/tome-ah.SlackBuild b/games/tome-ah/tome-ah.SlackBuild
index 4f6d7ce1b5e94..1ec74828d4163 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