diff options
-rw-r--r-- | games/brickout/brickout.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/games/brickout/brickout.SlackBuild b/games/brickout/brickout.SlackBuild index ce4f18a757..c9cf2fbbff 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 ;; |