From 26db337b19d029d0d47b0ad2e15ed7d72e5637e4 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 3 Jan 2020 05:26:20 -0500 Subject: games/triplea: Fix VERSION in script. Signed-off-by: B. Watson --- games/triplea/triplea.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'games/triplea') 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 ;; -- cgit v1.2.3