summaryrefslogtreecommitdiff
path: root/graphics/gnofract4d
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2020-01-03 04:22:23 -0600
committerRobby Workman <rworkman@slackbuilds.org>2020-01-03 04:22:23 -0600
commit54602017b51a91de7a962915bb39108bb2d3d889 (patch)
treea11acb3624d81fb6c24b0ba3c3e2571654b30116 /graphics/gnofract4d
parent87e95b11253562734f898c39493118d5e2dd9c48 (diff)
downloadslackbuilds-54602017b51a91de7a962915bb39108bb2d3d889.tar.gz
graphics/gnofract4d: Fixed VERSION in build script
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'graphics/gnofract4d')
-rw-r--r--graphics/gnofract4d/gnofract4d.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/gnofract4d/gnofract4d.SlackBuild b/graphics/gnofract4d/gnofract4d.SlackBuild
index 559df355e6..e78829d63c 100644
--- a/graphics/gnofract4d/gnofract4d.SlackBuild
+++ b/graphics/gnofract4d/gnofract4d.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnofract4d
-SRCVER=${SRCVER:-V_3_14_1}
-VERSION=$(echo $SRCVER | tr _ . | cut -c3-8)
+VERSION=${VERSION:-3.14.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SRCVER=V_$(echo $VERSION | tr . _)
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;