games/brickout: Fix script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2014-10-30 21:03:13 +07:00 committed by Willy Sudiarto Raharjo
parent d8d238de91
commit 03e08b5c6b

View file

@ -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 ;;