From 03e08b5c6bb175294cf23250b3d71fb01fec0fd8 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 30 Oct 2014 21:03:13 +0700 Subject: games/brickout: Fix script. Signed-off-by: Willy Sudiarto Raharjo --- games/brickout/brickout.SlackBuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'games') 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 ;; -- cgit v1.2.3