summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
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 ;;