aboutsummaryrefslogtreecommitdiff
path: root/libraries/tree-sitter
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 20:55:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:42 +0700
commit0b731af2a5fbbabfafc93bb4924bdc00726731bc (patch)
tree2a379a826205ad77b491e28e9fc3bc1d64a0c0f2 /libraries/tree-sitter
parent3e41b817cfd3baaac82bb40d11a6ee6e9d55ef39 (diff)
libraries/tree-sitter: Updated for version 0.20.4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/tree-sitter')
-rw-r--r--libraries/tree-sitter/tree-sitter.SlackBuild3
-rw-r--r--libraries/tree-sitter/tree-sitter.info6
2 files changed, 5 insertions, 4 deletions
diff --git a/libraries/tree-sitter/tree-sitter.SlackBuild b/libraries/tree-sitter/tree-sitter.SlackBuild
index 957746614963b..b370ade33f0b4 100644
--- a/libraries/tree-sitter/tree-sitter.SlackBuild
+++ b/libraries/tree-sitter/tree-sitter.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tree-sitter
-VERSION=${VERSION:-0.17.3}
+VERSION=${VERSION:-0.20.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,6 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+export CFLAGS+="$SLKCFLAGS"
make
make install DESTDIR=$PKG PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX}
diff --git a/libraries/tree-sitter/tree-sitter.info b/libraries/tree-sitter/tree-sitter.info
index 537171ac37963..35ed922ac8426 100644
--- a/libraries/tree-sitter/tree-sitter.info
+++ b/libraries/tree-sitter/tree-sitter.info
@@ -1,8 +1,8 @@
PRGNAM="tree-sitter"
-VERSION="0.17.3"
+VERSION="0.20.4"
HOMEPAGE="https://github.com/tree-sitter/tree-sitter"
-DOWNLOAD="https://github.com/tree-sitter/tree-sitter/archive/0.17.3/tree-sitter-0.17.3.tar.gz"
-MD5SUM="a67232beb761df0ba4cde5f0296bd455"
+DOWNLOAD="https://github.com/tree-sitter/tree-sitter/archive/v0.20.4/tree-sitter-0.20.4.tar.gz"
+MD5SUM="445496aef1e7a036b82a7ea3d604f9e7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""