aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-05-01 09:26:38 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-01 09:26:38 +0700
commit8789e3231e83ac381c4a8390785ad20183909ed7 (patch)
tree043b128e38e2f90c219da1467144078b74ff0ed3 /games
parent86fa9f1f0db46b7e2efd6a48853a2e2a3a16e00c (diff)
games/notpacman: Fix ARCH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/notpacman/notpacman.SlackBuild30
-rw-r--r--games/notpacman/notpacman.info2
2 files changed, 4 insertions, 28 deletions
diff --git a/games/notpacman/notpacman.SlackBuild b/games/notpacman/notpacman.SlackBuild
index cd8657ec6cb3f..5eaf7551efdc4 100644
--- a/games/notpacman/notpacman.SlackBuild
+++ b/games/notpacman/notpacman.SlackBuild
@@ -15,36 +15,17 @@
PRGNAM=notpacman
VERSION=${VERSION:-1.0.4}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-if [ -z "$ARCH" ]; then
- case "$( uname -m )" in
- i?86) ARCH=i486 ;;
- arm*) ARCH=arm ;;
- *) ARCH=$( uname -m ) ;;
- esac
-fi
+# *.love files are just zip files full of lua code, they're cross-platform
+ARCH=noarch
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
-else
- SLKCFLAGS="-O2"
- LIBDIRSUFFIX=""
-fi
-
set -e
# For those keeping score at home, *.love files are actually zip files
@@ -54,11 +35,6 @@ set -e
ZIPFILE=$PRGNAM-source.zip
PAYLOAD=not_pacman.love
-# if file downloaded with wget or anything that doesn't respect
-# content-disposition:
-DLNAME="dl.php?file=notpacman-1004%2Fnotpacman-source.zip"
-[ -e "$DLNAME" ] && mv "$DLNAME" $ZIPFILE
-
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
diff --git a/games/notpacman/notpacman.info b/games/notpacman/notpacman.info
index 70c64870714de..fc12cee470b08 100644
--- a/games/notpacman/notpacman.info
+++ b/games/notpacman/notpacman.info
@@ -1,7 +1,7 @@
PRGNAM="notpacman"
VERSION="1.0.4"
HOMEPAGE="http://stabyourself.net/notpacman/"
-DOWNLOAD="http://stabyourself.net/dl.php?file=notpacman-1004/notpacman-source.zip"
+DOWNLOAD="http://urchlay.naptime.net/~urchlay/src/notpacman-source.zip"
MD5SUM="a7f00ac3b1c8cb94bfa07b711b076223"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""