summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-01-03 05:19:19 -0500
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 04:44:15 -0600
commit7a9ae8a00d64ddb156542d92b3050d83a7b1400d (patch)
treef62c0c76b4ce3a70be25a754eedfb45f65615a2c /games
parent739a3a7f6ba00472bd8f1e42a1f09000cb6e079e (diff)
downloadslackbuilds-7a9ae8a00d64ddb156542d92b3050d83a7b1400d.tar.gz
games/smashbattle: Fix VERSION in script.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games')
-rw-r--r--games/smashbattle/smashbattle.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/games/smashbattle/smashbattle.SlackBuild b/games/smashbattle/smashbattle.SlackBuild
index 1812534657..4efb8c1ad9 100644
--- a/games/smashbattle/smashbattle.SlackBuild
+++ b/games/smashbattle/smashbattle.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smashbattle
-SRCVER=${SRCVER:-110224-src}
-VERSION=$(echo $SRCVER | cut -c1-6)
+VERSION=${VERSION:-110224}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCVER="$VERSION-src"
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;