aboutsummaryrefslogtreecommitdiff
path: root/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2020-02-29 07:26:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-02-29 07:26:52 +0700
commite77a22446fb4eb8ff57bc957fd924ea7c8c885c9 (patch)
tree57b5dcb3036ffacf9232549319b58031be72b938 /system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
parent92646738a1271c751c94ef95bfb43de98a84e90f (diff)
system/zsh-syntax-highlighting: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild')
-rw-r--r--system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild b/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
index ed79ce63c0a8..189c86434380 100644
--- a/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
+++ b/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for the zsh-syntax-highlighting.
#
-# Copyright 2018 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2018-2020 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zsh-syntax-highlighting
-VERSION=${VERSION:-20181101}
+VERSION=${VERSION:-0.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,16 +54,14 @@ else
LIBDIRSUFFIX=""
fi
-SRCVER=${SRCVER:-e900ad8bad53501689afcb050456400d7a8466e5}
-
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
-tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
-cd $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \