aboutsummaryrefslogtreecommitdiff
path: root/development/leo/leo.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/leo/leo.SlackBuild')
-rw-r--r--development/leo/leo.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/development/leo/leo.SlackBuild b/development/leo/leo.SlackBuild
index 989ffd3b2966..e05f9870db05 100644
--- a/development/leo/leo.SlackBuild
+++ b/development/leo/leo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for leo
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2017 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,7 @@
PRGNAM=leo
SRCNAM=${PRGNAM^}
-SRCVER=${SRCVER:-5.3-final}
-VERSION=$(echo $SRCVER | tr - .)
+VERSION=${VERSION:-5.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$SRCVER
-unzip $CWD/$SRCNAM-$SRCVER.zip
-cd $SRCNAM-$SRCVER
+rm -rf $SRCNAM-$VERSION
+unzip $CWD/$SRCNAM-$VERSION.zip
+cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \