summaryrefslogtreecommitdiffstats
path: root/games/megamario
diff options
context:
space:
mode:
author B. Watson2023-01-07 22:05:23 +0100
committer Willy Sudiarto Raharjo2023-01-14 02:50:18 +0100
commitdde6bba6dc130e0425bd4bf732b10a1609186aab (patch)
tree9bac24cb2217aecb42d9773d1517551ef1cc1302 /games/megamario
parentf7e573e3cdaf2bdb6787713a5d5f06f589602d08 (diff)
downloadslackbuilds-dde6bba6dc130e0425bd4bf732b10a1609186aab.tar.gz
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>
Diffstat (limited to 'games/megamario')
-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 5fb28930db..3e5691a052 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 4eeb235dd0..96e96f64c0 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 e53a54981c..e681c26580 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=""