summaryrefslogtreecommitdiffstats
path: root/games/mari0/mari0.SlackBuild
diff options
context:
space:
mode:
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