summaryrefslogtreecommitdiff
path: root/games/mrrescue
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-05-01 09:38:03 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-01 09:38:03 +0700
commit1ffe6525939c9b931c8c092b38320051aca7e52b (patch)
tree5c9d273d098a4799ff8be6d69fb3b0c76be34058 /games/mrrescue
parentc1b6500b948e9018c51b8904d9ed66a2673d6d06 (diff)
downloadslackbuilds-1ffe6525939c9b931c8c092b38320051aca7e52b.tar.gz
games/mrrescue: Added (2d platform game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mrrescue')
-rw-r--r--games/mrrescue/README8
-rw-r--r--games/mrrescue/doinst.sh3
-rw-r--r--games/mrrescue/mrrescue.SlackBuild57
-rw-r--r--games/mrrescue/mrrescue.desktop8
-rw-r--r--games/mrrescue/mrrescue.info10
-rw-r--r--games/mrrescue/mrrescue.pngbin0 -> 3604 bytes
-rw-r--r--games/mrrescue/slack-desc19
7 files changed, 105 insertions, 0 deletions
diff --git a/games/mrrescue/README b/games/mrrescue/README
new file mode 100644
index 0000000000..cbfc132263
--- /dev/null
+++ b/games/mrrescue/README
@@ -0,0 +1,8 @@
+Mr. Rescue (2d platform game)
+
+Mr. Rescue is an arcade styled 2d action game centered around evacuating
+civilians from burning buildings.
+
+The game features fast paced fire extinguishing action, intense boss
+battles, a catchy soundtrack and lots of throwing people around in
+pseudo-randomly generated buildings.
diff --git a/games/mrrescue/doinst.sh b/games/mrrescue/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/games/mrrescue/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/games/mrrescue/mrrescue.SlackBuild b/games/mrrescue/mrrescue.SlackBuild
new file mode 100644
index 0000000000..4ef115db1f
--- /dev/null
+++ b/games/mrrescue/mrrescue.SlackBuild
@@ -0,0 +1,57 @@
+#!/bin/sh
+
+# Slackware build script for mrrescue
+
+# Written by B. Watson (yalhcru@gmail.com)
+
+# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+
+PRGNAM=mrrescue
+VERSION=${VERSION:-1.02b}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -e
+
+SRCNAM="$PRGNAM-$VERSION-love"
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $SRCNAM
+unzip $CWD/$SRCNAM.zip
+cd $SRCNAM
+
+# no find/chmod boilerplate, explicit permissions
+
+mkdir -p $PKG/usr/games
+echo '#!/usr/bin/env love-0.8.0' > $PKG/usr/games/$PRGNAM
+cat $PRGNAM.love >> $PKG/usr/games/$PRGNAM
+chmod 755 $PKG/usr/games/$PRGNAM
+
+# icon is a piece of data/splash.png from the payload file, chopped up
+# with the gimp.
+mkdir -p $PKG/usr/share/pixmaps
+cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
+
+# .desktop written for this build
+mkdir -p $PKG/usr/share/applications
+cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+install -oroot -groot -m0644 *.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/mrrescue/mrrescue.desktop b/games/mrrescue/mrrescue.desktop
new file mode 100644
index 0000000000..694d884bdd
--- /dev/null
+++ b/games/mrrescue/mrrescue.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=Mr. Rescue
+Comment=Rescue civilians from a burning building
+Exec=mrrescue
+Icon=mrrescue
+Terminal=false
+Type=Application
+Categories=Game;ArcadeGame;
diff --git a/games/mrrescue/mrrescue.info b/games/mrrescue/mrrescue.info
new file mode 100644
index 0000000000..446cec541a
--- /dev/null
+++ b/games/mrrescue/mrrescue.info
@@ -0,0 +1,10 @@
+PRGNAM="mrrescue"
+VERSION="1.02b"
+HOMEPAGE="http://tangramgames.dk/games/mrrescue/"
+DOWNLOAD="https://github.com/SimonLarsen/mrrescue/releases/download/v1.02b/mrrescue-1.02b-love.zip"
+MD5SUM="2c9d3e6a2d17ffeeb02a68a076988d14"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES="love-legacy080"
+MAINTAINER="B. Watson"
+EMAIL="yalhcru@gmail.com"
diff --git a/games/mrrescue/mrrescue.png b/games/mrrescue/mrrescue.png
new file mode 100644
index 0000000000..6c75e92c70
--- /dev/null
+++ b/games/mrrescue/mrrescue.png
Binary files differ
diff --git a/games/mrrescue/slack-desc b/games/mrrescue/slack-desc
new file mode 100644
index 0000000000..0786fd378a
--- /dev/null
+++ b/games/mrrescue/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+mrrescue: Mr. Rescue (2d platform game)
+mrrescue:
+mrrescue: Mr. Rescue is an arcade styled 2d action game centered around
+mrrescue: evacuating civilians from burning buildings.
+mrrescue:
+mrrescue: The game features fast paced fire extinguishing action, intense boss
+mrrescue: battles, a catchy soundtrack and lots of throwing people around in
+mrrescue: pseudo-randomly generated buildings.
+mrrescue:
+mrrescue:
+mrrescue: