diff options
author | Thibaut Notteboom <thibaut.notteboom@gmail.com> | 2018-05-29 08:12:59 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-29 08:21:12 +0700 |
commit | 8afaec79e975183b6e570abbc9b423bb62cb8cc0 (patch) | |
tree | a81e12a832a947d5de0f540344c3b73e765e9c4b /games | |
parent | 376d8827f60f46559319e5a17576924c06142efb (diff) | |
download | slackbuilds-8afaec79e975183b6e570abbc9b423bb62cb8cc0.tar.gz |
games/mrboom: Updated for version 4.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r-- | games/mrboom/README | 8 | ||||
-rw-r--r-- | games/mrboom/mrboom.SlackBuild | 27 | ||||
-rw-r--r-- | games/mrboom/mrboom.info | 8 | ||||
-rw-r--r-- | games/mrboom/mrboom_libretro.info | 12 | ||||
-rw-r--r-- | games/mrboom/slack-desc | 2 |
5 files changed, 41 insertions, 16 deletions
diff --git a/games/mrboom/README b/games/mrboom/README index 830bd4f9da..1d6c3eaa05 100644 --- a/games/mrboom/README +++ b/games/mrboom/README @@ -1,3 +1,5 @@ -Mr.Boom is an 8 players Bomberman clone. This is an SDL2 version of -the original 1999 version of Mr. Boom. The goal of the game is to -bomb away your enemies and other players. +Mr.Boom is an 8 players Bomberman clone. This is an SDL2 version of the +original 1999 version of Mr. Boom. The goal of the game is to bomb away +your enemies and other players. + +RetroArch is an optional dependency required to run the libretro core. diff --git a/games/mrboom/mrboom.SlackBuild b/games/mrboom/mrboom.SlackBuild index 2fcea6c00d..682b6e04f6 100644 --- a/games/mrboom/mrboom.SlackBuild +++ b/games/mrboom/mrboom.SlackBuild @@ -23,11 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mrboom -VERSION=${VERSION:-4.4} +VERSION=${VERSION:-4.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=mrboom-libretro +LIBNAM=mrboom_libretro if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -71,21 +72,29 @@ 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 {} \; -make mrboom LIBSDL2=1 +if pkg-config --exists sdl2; then + make mrboom LIBSDL2=1 -mkdir -p $PKG/usr/games $PKG/usr/man/man6 $PKG/usr/share/applications $PKG/usr/share/pixmaps + mkdir -p $PKG/usr/games $PKG/usr/man/man6 $PKG/usr/share/applications $PKG/usr/share/pixmaps -make install PREFIX=/usr BINDIR=games DESTDIR=$PKG + make install PREFIX=/usr BINDIR=games DESTDIR=$PKG -install -m 0644 Assets/$PRGNAM.desktop $PKG/usr/share/applications -install -m 0644 $CWD/mrboom.svg $PKG/usr/share/pixmaps + install -m 0644 Assets/$PRGNAM.desktop $PKG/usr/share/applications + install -m 0644 $CWD/mrboom.svg $PKG/usr/share/pixmaps + + 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 + +make clean +make + +install -D -m 0644 $LIBNAM.so $PKG/usr/lib${LIBDIRSUFFIX}/libretro/$LIBNAM.so +install -D -m 0644 $CWD/$LIBNAM.info $PKG/usr/lib${LIBDIRSUFFIX}/libretro/info/$LIBNAM.info find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -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 - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ LICENSE README.md \ diff --git a/games/mrboom/mrboom.info b/games/mrboom/mrboom.info index 8a51264e7c..f5abed22c5 100644 --- a/games/mrboom/mrboom.info +++ b/games/mrboom/mrboom.info @@ -1,8 +1,10 @@ PRGNAM="mrboom" -VERSION="4.4" +VERSION="4.5" HOMEPAGE="http://mrboom.mumblecore.org/" -DOWNLOAD="https://github.com/Javanaise/mrboom-libretro/archive/4.4/mrboom-libretro-4.4.tar.gz" -MD5SUM="28f3271f449eea907e8ee5342a972123" +DOWNLOAD="https://github.com/Javanaise/mrboom-libretro/archive/4.5/mrboom-libretro-4.5.tar.gz \ + https://raw.githubusercontent.com/libretro/libretro-super/master/dist/info/mrboom_libretro.info" +MD5SUM="7e80d27d89f9640b411a8a571fbf1d52 \ + 4a60b4202e8fd3302b795c4176a98750" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libmodplug SDL2_mixer libminizip" diff --git a/games/mrboom/mrboom_libretro.info b/games/mrboom/mrboom_libretro.info new file mode 100644 index 0000000000..9e2651e975 --- /dev/null +++ b/games/mrboom/mrboom_libretro.info @@ -0,0 +1,12 @@ +display_name = "Mr.Boom (Bomberman)" +authors = "Remdy" +supported_extensions = "" +corename = "Mr.Boom" +categories = "Game" +systemname = "Mr.Boom" +database = "MrBoom" +license = "" +supported_extensions = "desktop" +permissions = "" +display_version = "3.1" +supports_no_game = "true" diff --git a/games/mrboom/slack-desc b/games/mrboom/slack-desc index 0ca7e4ddea..9cf93e41ae 100644 --- a/games/mrboom/slack-desc +++ b/games/mrboom/slack-desc @@ -12,7 +12,7 @@ mrboom: Mr.Boom is an 8 players Bomberman clone. This is an SDL2 version of mrboom: the original 1999 version of Mr. Boom. The goal of the game is to mrboom: bomb away your enemies and other players. mrboom: -mrboom: +mrboom: RetroArch is an optional dependency required to run the libretro core. mrboom: mrboom: mrboom: |