aboutsummaryrefslogtreecommitdiff
path: root/games/triplea
diff options
context:
space:
mode:
Diffstat (limited to 'games/triplea')
-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 f6f8a44c40f5..796778d40c0e 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 ;;