diff options
author | B. Watson <yalhcru@gmail.com> | 2015-05-12 18:20:33 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-05-17 23:45:52 +0700 |
commit | 892f2139a6fbd8a398d5b9b1f82de5293349f269 (patch) | |
tree | aa87ef41dfaeddbe6936dae8e45a5f41487461de /games/mrrescue | |
parent | a7e5bc46002fe30a16c5ca4f26da3327504188c4 (diff) |
games/mrrescue: Updated for version 1.02c.
Diffstat (limited to 'games/mrrescue')
-rw-r--r-- | games/mrrescue/mrrescue.SlackBuild | 20 | ||||
-rw-r--r-- | games/mrrescue/mrrescue.info | 8 |
2 files changed, 15 insertions, 13 deletions
diff --git a/games/mrrescue/mrrescue.SlackBuild b/games/mrrescue/mrrescue.SlackBuild index 4ef115db1f6ce..b9854498f6183 100644 --- a/games/mrrescue/mrrescue.SlackBuild +++ b/games/mrrescue/mrrescue.SlackBuild @@ -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 diff --git a/games/mrrescue/mrrescue.info b/games/mrrescue/mrrescue.info index 446cec541ab49..4c3f011826684 100644 --- a/games/mrrescue/mrrescue.info +++ b/games/mrrescue/mrrescue.info @@ -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" |