summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-01-26 13:54:31 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-28 07:38:07 +0700
commit0aef9d394b74331feb7c54de36c9a086396d0468 (patch)
treed3f5151021b8a972f29a355a9338bc5f2629f644 /system
parentad22ef46f496b8d609696ffbb1159435fc3fb16d (diff)
downloadslackbuilds-0aef9d394b74331feb7c54de36c9a086396d0468.tar.gz
system/slackroll: Updated for version v46.
Fixes broken help in version "46". Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-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"