aboutsummaryrefslogtreecommitdiff
path: root/system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild
diff options
context:
space:
mode:
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 ed79ce63c0a82..189c864343801 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 \