summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/slackroll/slackroll.SlackBuild11
-rw-r--r--system/slackroll/slackroll.info2
2 files changed, 7 insertions, 6 deletions
diff --git a/system/slackroll/slackroll.SlackBuild b/system/slackroll/slackroll.SlackBuild
index 5c74df4058..2e1653866f 100644
--- a/system/slackroll/slackroll.SlackBuild
+++ b/system/slackroll/slackroll.SlackBuild
@@ -23,8 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=slackroll
-VERSION=${VERSION:-46}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-v46}
+SRCVER=${VERSION#v}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch
@@ -39,9 +40,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/system/slackroll/slackroll.info b/system/slackroll/slackroll.info
index 8898c5edcb..b23245fea3 100644
--- a/system/slackroll/slackroll.info
+++ b/system/slackroll/slackroll.info
@@ -1,5 +1,5 @@
PRGNAM="slackroll"
-VERSION="46"
+VERSION="v46"
HOMEPAGE="http://rg3.github.io/slackroll/"
DOWNLOAD="https://github.com/rg3/slackroll/archive/v46/slackroll-46.tar.gz"
MD5SUM="acc39d5ba5936e885664c4ba048495e7"