summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-03 05:17:47 -0500
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 04:44:15 -0600
commit739a3a7f6ba00472bd8f1e42a1f09000cb6e079e (patch)
tree7eed1bff81a04e06864745f15758bff63974fa44 /games
parent09a5dba5e048408e0cafef1c9ff810de8b776b77 (diff)
downloadslackbuilds-739a3a7f6ba00472bd8f1e42a1f09000cb6e079e.tar.gz
games/arnold-cpc: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-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 ;;