mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
games/mrrescue: Updated for version 1.02c.
This commit is contained in:
parent
a7e5bc4600
commit
892f2139a6
2 changed files with 15 additions and 13 deletions
|
@ -7,7 +7,7 @@
|
|||
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
|
||||
|
||||
PRGNAM=mrrescue
|
||||
VERSION=${VERSION:-1.02b}
|
||||
VERSION=${VERSION:-1.02c}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -20,20 +20,22 @@ 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
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
mkdir -p $PRGNAM-$VERSION
|
||||
cd $PRGNAM-$VERSION
|
||||
|
||||
# the source is also the binary. we only need to extract
|
||||
# any documentation (which boilds down to one file):
|
||||
unzip $CWD/$PRGNAM-$VERSION.love LICENSE
|
||||
|
||||
# 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
|
||||
echo '#!/usr/bin/env love' > $PKG/usr/games/$PRGNAM
|
||||
cat $CWD/$PRGNAM-$VERSION.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
|
||||
|
@ -46,7 +48,7 @@ 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
|
||||
install -oroot -groot -m0644 LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="mrrescue"
|
||||
VERSION="1.02b"
|
||||
VERSION="1.02c"
|
||||
HOMEPAGE="http://tangramgames.dk/games/mrrescue/"
|
||||
DOWNLOAD="https://github.com/SimonLarsen/mrrescue/releases/download/v1.02b/mrrescue-1.02b-love.zip"
|
||||
MD5SUM="2c9d3e6a2d17ffeeb02a68a076988d14"
|
||||
DOWNLOAD="https://github.com/SimonLarsen/mrrescue/releases/download/v1.02c/mrrescue-1.02c.love"
|
||||
MD5SUM="85897f04f2e9c3aaded74bf178aeab4c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="love-legacy080"
|
||||
REQUIRES="love"
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue