aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-07 16:05:23 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:18 +0700
commitdde6bba6dc130e0425bd4bf732b10a1609186aab (patch)
tree9bac24cb2217aecb42d9773d1517551ef1cc1302
parentf7e573e3cdaf2bdb6787713a5d5f06f589602d08 (diff)
games/megamario: Use https URL, fix doinst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/megamario/doinst.sh6
-rw-r--r--games/megamario/megamario.SlackBuild4
-rw-r--r--games/megamario/megamario.info2
3 files changed, 10 insertions, 2 deletions
diff --git a/games/megamario/doinst.sh b/games/megamario/doinst.sh
index 5fb28930db0b..3e5691a052b5 100644
--- a/games/megamario/doinst.sh
+++ b/games/megamario/doinst.sh
@@ -1,3 +1,9 @@
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/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/megamario/megamario.SlackBuild b/games/megamario/megamario.SlackBuild
index 4eeb235dd0a0..96e96f64c0e0 100644
--- a/games/megamario/megamario.SlackBuild
+++ b/games/megamario/megamario.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20230107 bkw: BUILD=3, use https homepage, fix doinst.sh.
+
# 20211022 bkw: BUILD=2
# - new-style icons.
# - make the in-game music work (by transcoding it to ogg).
@@ -14,7 +16,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=megamario
VERSION=${VERSION:-1.7}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
diff --git a/games/megamario/megamario.info b/games/megamario/megamario.info
index e53a54981c91..e681c2658026 100644
--- a/games/megamario/megamario.info
+++ b/games/megamario/megamario.info
@@ -1,6 +1,6 @@
PRGNAM="megamario"
VERSION="1.7"
-HOMEPAGE="http://mmario.sourceforge.net/index.htm"
+HOMEPAGE="https://mmario.sourceforge.net/index.htm"
DOWNLOAD="https://downloads.sourceforge.net/project/mmario/Mega%20Mario%20Full%20Game/Mega%20Mario%20v1.7%20%28Full%20Game%2C%20high%20Quality%20music%29/MegaMario_v1.7_full.zip"
MD5SUM="9550b20f7c2754cd8f94ebf309becf62"
DOWNLOAD_x86_64=""