summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ;;