summaryrefslogtreecommitdiff
path: root/games/mari0/mari0.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-05-01 09:25:19 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-01 09:25:19 +0700
commit86fa9f1f0db46b7e2efd6a48853a2e2a3a16e00c (patch)
tree2353269b4c269c82bd620a743c39ec53e3fbe51a /games/mari0/mari0.SlackBuild
parenteca63c3bc5ca4d7b38f1dd2218958c33b38bf631 (diff)
downloadslackbuilds-86fa9f1f0db46b7e2efd6a48853a2e2a3a16e00c.tar.gz
games/mari0: Fix DEPS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/mari0/mari0.SlackBuild')
-rw-r--r--games/mari0/mari0.SlackBuild11
1 files changed, 2 insertions, 9 deletions
diff --git a/games/mari0/mari0.SlackBuild b/games/mari0/mari0.SlackBuild
index d77333c721..e240c63556 100644
--- a/games/mari0/mari0.SlackBuild
+++ b/games/mari0/mari0.SlackBuild
@@ -8,7 +8,7 @@
PRGNAM=mari0
VERSION=${VERSION:-1.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# *.love files are just zip files full of lua code, they're cross-platform
@@ -24,13 +24,6 @@ set -e
SRCNAM="$PRGNAM-source.zip"
PAYLOAD="${PRGNAM}_${VERSION}.love"
-# If the source was downloaded with something that doesn't honour the
-# content-disposition header:
-BADSRCNAM="dl.php?file=mari0-1006%2Fmari0-source.zip"
-if [ -e "$CWD/$BADSRCNAM" ]; then
- mv "$CWD/$BADSRCNAM" "$CWD/mari0-source.zip"
-fi
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -43,7 +36,7 @@ unzip $CWD/$SRCNAM
# output redirection for everything.
mkdir -p $PKG/usr/games
-echo '#!/usr/bin/env love' > $PKG/usr/games/$PRGNAM
+echo '#!/usr/bin/env love-0.8.0' > $PKG/usr/games/$PRGNAM
cat $PAYLOAD >> $PKG/usr/games/$PRGNAM
chmod 0755 $PKG/usr/games/$PRGNAM