summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author B. Watson <urchlay@slackware.uk>2023-01-07 21:11:12 -0500
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:20 +0700
commit44ce140ae6f63f1faeb557a08ed59bc36f197052 (patch)
tree9739c1d7af08d9e40bd044548daec803959daadf /games
parent7bfb2a65dacfe95a30bc27a0635c7ea9d0822188 (diff)
downloadslackbuilds-44ce140ae6f63f1faeb557a08ed59bc36f197052.tar.gz
slackbuilds-44ce140ae6f63f1faeb557a08ed59bc36f197052.tar.xz
games/sms_sdl: Fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/sms_sdl/doinst.sh5
-rw-r--r--games/sms_sdl/sms_sdl.SlackBuild4
2 files changed, 8 insertions, 1 deletions
diff --git a/games/sms_sdl/doinst.sh b/games/sms_sdl/doinst.sh
index 6dabb61160..4b35984395 100644
--- a/games/sms_sdl/doinst.sh
+++ b/games/sms_sdl/doinst.sh
@@ -6,3 +6,8 @@ if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1
fi
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/games/sms_sdl/sms_sdl.SlackBuild b/games/sms_sdl/sms_sdl.SlackBuild
index ca1f660f46..b4faea9300 100644
--- a/games/sms_sdl/sms_sdl.SlackBuild
+++ b/games/sms_sdl/sms_sdl.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230107 bkw: BUILD=5, fix doinst.sh.
+
# 20211024 bkw: BUILD=4
# - made a new icon, hopefully better looking.
# - new-style icons.
@@ -30,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sms_sdl
VERSION=${VERSION:-0.9.4a_r7.1}
-BUILD=${BUILD:-4}
+BUILD=${BUILD:-5}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}