diff options
Diffstat (limited to 'system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild')
-rw-r--r-- | system/zsh-syntax-highlighting/zsh-syntax-highlighting.SlackBuild | 10 |
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 baba8abf6be85..ed79ce63c0a82 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 \ |