aboutsummaryrefslogtreecommitdiff
path: root/games/brickout/brickout.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-10-30 21:03:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-10-30 21:03:13 +0700
commit03e08b5c6bb175294cf23250b3d71fb01fec0fd8 (patch)
tree91b532e601390a2beb20efa507b3244ca071f2ba /games/brickout/brickout.SlackBuild
parentd8d238de91931e1e46897f67cd648e47ff4c8f89 (diff)
games/brickout: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/brickout/brickout.SlackBuild')
-rw-r--r--games/brickout/brickout.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/brickout/brickout.SlackBuild b/games/brickout/brickout.SlackBuild
index ce4f18a7573eb..c9cf2fbbfff26 100644
--- a/games/brickout/brickout.SlackBuild
+++ b/games/brickout/brickout.SlackBuild
@@ -7,12 +7,16 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20141030 bkw: make VERSION a fixed value, derive SRCVER from it (instead of
+# the other way around). Nitpick.
+
PRGNAM=brickout
-SRCVER=${SRCVER:-2002.06.09}
-VERSION=$( echo $SRCVER | sed 's/\.//g' )
+VERSION=${VERSION:-20020609}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$( echo $VERSION | sed 's,\(....\)\(..\)\(..\),\1.\2.\3,' )
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;