aboutsummaryrefslogtreecommitdiff
path: root/games/z26/z26.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-13 00:27:39 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:27:39 +0200
commit14ccf40e411a7a17ff6d0150f498855a5ca6e7ce (patch)
treede34c5097372e611b584cab7d050c586a3cecf88 /games/z26/z26.SlackBuild
parentb2823db3e180295376c907c60401adb6d5c74089 (diff)
games/z26: Updated for version 2.13
Diffstat (limited to 'games/z26/z26.SlackBuild')
-rw-r--r--games/z26/z26.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/z26/z26.SlackBuild b/games/z26/z26.SlackBuild
index d046d5372fa86..71af23e871089 100644
--- a/games/z26/z26.SlackBuild
+++ b/games/z26/z26.SlackBuild
@@ -29,6 +29,9 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ echo "Can't build on x86_64, sorry"
+ exit 1
fi
set -e
@@ -62,4 +65,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}