summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author B. Watson2020-01-03 11:26:20 +0100
committer Robby Workman2020-01-03 11:44:15 +0100
commit26db337b19d029d0d47b0ad2e15ed7d72e5637e4 (patch)
tree74344cce7780008f7bfa57c5244bb1e2d6b04d25 /games
parent7a9ae8a00d64ddb156542d92b3050d83a7b1400d (diff)
downloadslackbuilds-26db337b19d029d0d47b0ad2e15ed7d72e5637e4.tar.gz
games/triplea: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/triplea/triplea.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/triplea/triplea.SlackBuild b/games/triplea/triplea.SlackBuild
index f6f8a44c40..796778d40c 100644
--- a/games/triplea/triplea.SlackBuild
+++ b/games/triplea/triplea.SlackBuild
@@ -23,12 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=triplea
-SRCVER=${SRCVER:-1_8_0_9_all_platforms}
-VERSION=$(echo $SRCVER | tr _ . | cut -c1-7)
-SRCDIR=$(echo $SRCVER | cut -c1-7)
+VERSION=${VERSION:-1.8.0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCDIR="$( echo $VERSION | tr . _ )"
+SRCVER="${SRCDIR}_all_platforms"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;