mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
games/mrrescue: Added (2d platform game).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c1b6500b94
commit
1ffe652593
7 changed files with 105 additions and 0 deletions
8
games/mrrescue/README
Normal file
8
games/mrrescue/README
Normal file
|
@ -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.
|
3
games/mrrescue/doinst.sh
Normal file
3
games/mrrescue/doinst.sh
Normal file
|
@ -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
|
57
games/mrrescue/mrrescue.SlackBuild
Normal file
57
games/mrrescue/mrrescue.SlackBuild
Normal file
|
@ -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}
|
8
games/mrrescue/mrrescue.desktop
Normal file
8
games/mrrescue/mrrescue.desktop
Normal file
|
@ -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;
|
10
games/mrrescue/mrrescue.info
Normal file
10
games/mrrescue/mrrescue.info
Normal file
|
@ -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"
|
BIN
games/mrrescue/mrrescue.png
Normal file
BIN
games/mrrescue/mrrescue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
19
games/mrrescue/slack-desc
Normal file
19
games/mrrescue/slack-desc
Normal file
|
@ -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:
|
Loading…
Reference in a new issue