aboutsummaryrefslogtreecommitdiff
path: root/games/supertux
diff options
context:
space:
mode:
authorBloyburt <alexpen@startmail.com>2022-07-08 22:38:32 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-09 10:06:08 +0700
commit027349a2e1c78ce05dbf90d72afc87e2f5eb5b1f (patch)
tree259e6668e97dc5489ad0568dc03a9e685d7f14df /games/supertux
parent7800e28d91e6ab4cc69e83740d4b43ab743112bf (diff)
games/supertux: Update REQUIRES & doinst.sh.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/supertux')
-rw-r--r--games/supertux/README4
-rw-r--r--games/supertux/doinst.sh6
-rw-r--r--games/supertux/slack-desc6
-rw-r--r--games/supertux/supertux.SlackBuild2
-rw-r--r--games/supertux/supertux.info2
5 files changed, 13 insertions, 7 deletions
diff --git a/games/supertux/README b/games/supertux/README
index 172839603309..67363b4950a6 100644
--- a/games/supertux/README
+++ b/games/supertux/README
@@ -1,5 +1,5 @@
-SuperTux is a open-source classic 2D jump'n run sidescroller game in a
-style similar to the original Super Mario games.
+SuperTux is an open-source classic 2D jump-and-run sidescroller game,
+in a style similar to the original Super Mario games.
If you get slow performance, disable the use of OpenGL in the
"Options" menu after SuperTux is started.
diff --git a/games/supertux/doinst.sh b/games/supertux/doinst.sh
index 65fd35241875..62aabdc4ae05 100644
--- a/games/supertux/doinst.sh
+++ b/games/supertux/doinst.sh
@@ -2,3 +2,9 @@ if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi
+# If other icon themes are installed, then add to or modify this as needed
+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 -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/games/supertux/slack-desc b/games/supertux/slack-desc
index 8459fc15a3c0..4fd87e7f6da4 100644
--- a/games/supertux/slack-desc
+++ b/games/supertux/slack-desc
@@ -6,10 +6,10 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-supertux: supertux (classic 2D jump'n run sidescroller game)
+supertux: supertux (classic 2D jump-and-run sidescroller game)
supertux:
-supertux: SuperTux is a open-source classic 2D jump'n run sidescroller game in a
-supertux: style similar to the original Super Mario games.
+supertux: SuperTux is an open-source classic 2D jump-and-run sidescroller game,
+supertux: in a style similar to the original Super Mario games.
supertux:
supertux: Homepage: https://www.supertux.org
supertux:
diff --git a/games/supertux/supertux.SlackBuild b/games/supertux/supertux.SlackBuild
index 5db96b1a0be6..a492e216aa2f 100644
--- a/games/supertux/supertux.SlackBuild
+++ b/games/supertux/supertux.SlackBuild
@@ -31,7 +31,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=supertux
VERSION=${VERSION:-0.6.3}
SRCVERSION=$(echo $VERSION | tr _ - )
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/games/supertux/supertux.info b/games/supertux/supertux.info
index 9cadedfc9ab8..05ef0681d9ce 100644
--- a/games/supertux/supertux.info
+++ b/games/supertux/supertux.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/SuperTux/supertux/releases/download/v0.6.3/SuperTux
MD5SUM="798d5518d3f4672ee0bac92693063c2f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="physfs"
+REQUIRES="physfs glm"
MAINTAINER="Bloyburt"
EMAIL="alexpen@startmail.com"