mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/tome-ah: Updated for version 20240912_203c8c1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fd9b69b942
commit
aa01476036
6 changed files with 22 additions and 32 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
13
games/tome-ah/tome.sh
Normal file
13
games/tome-ah/tome.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue