summaryrefslogtreecommitdiffstats
path: root/games/tome/tome.SlackBuild
diff options
context:
space:
mode:
author B. Watson2022-02-22 18:09:09 +0100
committer Willy Sudiarto Raharjo2022-02-23 14:10:23 +0100
commit31662e22aba8fde2bed0ece6e53d0a027769007a (patch)
tree3f33e681a1c9359e62f20e39a88122b2d26c8ec3 /games/tome/tome.SlackBuild
parentead19a198f93ad10c307bf8a7aac874df8b8886b (diff)
downloadslackbuilds-31662e22aba8fde2bed0ece6e53d0a027769007a.tar.gz
games/tome: Updated for version 1.6.0.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/tome/tome.SlackBuild')
-rw-r--r--games/tome/tome.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/tome/tome.SlackBuild b/games/tome/tome.SlackBuild
index d7d371fea5..6314d41aca 100644
--- a/games/tome/tome.SlackBuild
+++ b/games/tome/tome.SlackBuild
@@ -22,11 +22,14 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220221 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by upgrading to 1.6.0 (not the latest version).
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tome
SRCNAM=t-engine4-src
-VERSION=${VERSION:-1.5.10}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -39,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
@@ -78,9 +78,9 @@ unzip -oj -qq game/engines/te4-${VERSION}.teae -d icons
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 {} \+
# correction of SDL2 headers directory
sed -i "s/opt\/SDL-2.0/usr/" premake4.lua