summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/arnold-cpc/arnold-cpc.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/arnold-cpc/arnold-cpc.SlackBuild b/games/arnold-cpc/arnold-cpc.SlackBuild
index bfd41ac3a1..545b6ba4dc 100644
--- a/games/arnold-cpc/arnold-cpc.SlackBuild
+++ b/games/arnold-cpc/arnold-cpc.SlackBuild
@@ -23,13 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=arnold-cpc
-SRCDIR=$(echo $PRGNAM | cut -c1-6)
-SRCNAM=${SRCDIR}-nurgle
-SRCVER=${SRCVER:-2009-03-17}
-VERSION=$(echo $SRCVER | tr - .)
+VERSION=${VERSION:-2009.03.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$(echo $VERSION | tr . -)
+SRCDIR=$(echo $PRGNAM | cut -c1-6)
+SRCNAM=${SRCDIR}-nurgle
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;