aboutsummaryrefslogtreecommitdiff
path: root/games/mrboom
diff options
context:
space:
mode:
authorThibaut Notteboom <thibaut.notteboom@gmail.com>2020-05-10 08:11:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-10 09:29:54 +0700
commitf50af611b025dd31372448acfbb411cc95ce3756 (patch)
tree6467b324bad0a1719589db8caa76b926fd42f696 /games/mrboom
parente4e43c683e75e13fd60ca4763694b67ef59ad60b (diff)
games/mrboom: Updated for version 4.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mrboom')
-rw-r--r--games/mrboom/Makefile.patch16
-rw-r--r--games/mrboom/mrboom.SlackBuild11
-rw-r--r--games/mrboom/mrboom.info6
3 files changed, 28 insertions, 5 deletions
diff --git a/games/mrboom/Makefile.patch b/games/mrboom/Makefile.patch
new file mode 100644
index 000000000000..0a240e9275ad
--- /dev/null
+++ b/games/mrboom/Makefile.patch
@@ -0,0 +1,16 @@
+--- Makefile.orig 2020-05-09 23:50:56.489976161 +0200
++++ Makefile 2020-05-09 23:51:30.250975839 +0200
+@@ -500,11 +500,11 @@
+ rm -f *.d */*.d */*/*.d */*/*/*.d */*/*/*/*.d */*/*/*/*/*.d
+
+ strip:
+- $(STRIP) $(TARGET_NAME).out
++ $(STRIP) $(TARGET_NAME)
+
+ install: strip
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/$(BINDIR)
+- $(INSTALL) -m 555 $(TARGET_NAME).out $(DESTDIR)$(PREFIX)/$(BINDIR)/$(TARGET_NAME)
++ $(INSTALL) -m 555 $(TARGET_NAME) $(DESTDIR)$(PREFIX)/$(BINDIR)/$(TARGET_NAME)
+ $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/$(MANDIR)
+ $(INSTALL) -m 644 Assets/$(TARGET_NAME).6 $(DESTDIR)$(PREFIX)/$(MANDIR)
+
diff --git a/games/mrboom/mrboom.SlackBuild b/games/mrboom/mrboom.SlackBuild
index 4118447699fd..4c3410d16124 100644
--- a/games/mrboom/mrboom.SlackBuild
+++ b/games/mrboom/mrboom.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mrboom
-# Copyright 2017-2019 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2017-2020 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mrboom
-VERSION=${VERSION:-4.8}
+VERSION=${VERSION:-4.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,6 +72,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p0 < $CWD/Makefile.patch
+sed -i "s|^GIT_VERSION :=.*|GIT_VERSION := \" ${VERSION}\"|" Makefile
+
if pkg-config --exists sdl2; then
make mrboom LIBSDL2=1
@@ -82,6 +85,10 @@ if pkg-config --exists sdl2; then
install -m 0644 Assets/$PRGNAM.desktop $PKG/usr/share/applications
install -m 0644 $CWD/mrboom.svg $PKG/usr/share/pixmaps
+ for i in 16x16 32x32 48x48 256x256; do
+ install -D -m0644 Assets/hicolor/$i/apps/$PRGNAM.png $PKG/use/share/icons/hicolor/$i/apps/$PRGNAM.png
+ done
+
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
fi
diff --git a/games/mrboom/mrboom.info b/games/mrboom/mrboom.info
index 7543a405a9f1..ab83b72165bf 100644
--- a/games/mrboom/mrboom.info
+++ b/games/mrboom/mrboom.info
@@ -1,9 +1,9 @@
PRGNAM="mrboom"
-VERSION="4.8"
+VERSION="4.9"
HOMEPAGE="http://mrboom.mumblecore.org/"
-DOWNLOAD="https://github.com/Javanaise/mrboom-libretro/archive/4.8/mrboom-libretro-4.8.tar.gz \
+DOWNLOAD="https://github.com/Javanaise/mrboom-libretro/archive/4.9/mrboom-libretro-4.9.tar.gz \
https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/mrboom_libretro.info"
-MD5SUM="421978aa15b180315525ade5b3127f9e \
+MD5SUM="872747a290cf52a89aa1542d9a40771e \
24a6cc6027701aa7cf9177c77e29e0f0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""