diff options
author | B. Watson <yalhcru@gmail.com> | 2020-01-03 05:26:20 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2020-01-03 04:44:15 -0600 |
commit | 26db337b19d029d0d47b0ad2e15ed7d72e5637e4 (patch) | |
tree | 74344cce7780008f7bfa57c5244bb1e2d6b04d25 /games/triplea | |
parent | 7a9ae8a00d64ddb156542d92b3050d83a7b1400d (diff) | |
download | slackbuilds-26db337b19d029d0d47b0ad2e15ed7d72e5637e4.tar.gz |
games/triplea: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/triplea')
-rw-r--r-- | games/triplea/triplea.SlackBuild | 7 |
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 ;; |