summaryrefslogtreecommitdiffstats
path: root/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
diff options
context:
space:
mode:
author Edinaldo P. Silva2018-11-16 00:46:16 +0100
committer Willy Sudiarto Raharjo2018-11-17 12:42:47 +0100
commit2e1e6a5cd5957cde31ec1bfb427249e97ec1002e (patch)
tree9b8410dc8fa844f9fbbb67ac992921aac928fb02 /system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
parente12eee97743edf8f96b724c88b6ebfc0866afdf8 (diff)
downloadslackbuilds-2e1e6a5cd5957cde31ec1bfb427249e97ec1002e.tar.gz
system/zsh-syntax-highlighting: Updated for version 20181101.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild')
-rw-r--r--system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild b/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
index baba8abf6b..ed79ce63c0 100644
--- a/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
+++ b/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zsh-syntax-highlighting
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-20181101}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,14 +54,16 @@ else
LIBDIRSUFFIX=""
fi
+SRCVER=${SRCVER:-e900ad8bad53501689afcb050456400d7a8466e5}
+
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 \