summaryrefslogtreecommitdiff
path: root/games/notpacman/notpacman.SlackBuild
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/notpacman/notpacman.SlackBuild
parent86fa9f1f0db46b7e2efd6a48853a2e2a3a16e00c (diff)
downloadslackbuilds-8789e3231e83ac381c4a8390785ad20183909ed7.tar.gz
games/notpacman: Fix ARCH.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/notpacman/notpacman.SlackBuild')
-rw-r--r--games/notpacman/notpacman.SlackBuild30
1 files changed, 3 insertions, 27 deletions
diff --git a/games/notpacman/notpacman.SlackBuild b/games/notpacman/notpacman.SlackBuild
index cd8657ec6c..5eaf7551ef 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