tree-sitter: update to 0.19.3.
Also package CLI in tree-sitter-devel. Closes: #29272 [via git-merge-pr]
This commit is contained in:
parent
770367e193
commit
5666ed2964
1 changed files with 14 additions and 3 deletions
|
@ -1,16 +1,26 @@
|
|||
# Template file for 'tree-sitter'
|
||||
pkgname=tree-sitter
|
||||
version=0.19.0
|
||||
version=0.19.3
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
build_style=cargo
|
||||
make_install_args="--path=cli"
|
||||
short_desc="Parser generator tool and incremental parsing library"
|
||||
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
||||
license="MIT"
|
||||
homepage="https://tree-sitter.github.io"
|
||||
distfiles="https://github.com/tree-sitter/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=7fa56a76b29b170ae11026a5c965e5a1177c158e251bec103d353ffff16a84e9
|
||||
checksum=cb01e1832758efe2fd3456e0a6eb0e5aba0e1e11b652c945db70793c2c4f7c2b
|
||||
make_check=no # tests require generating fixtures from remote repositories
|
||||
|
||||
post_build() {
|
||||
# Build libtree-sitter, since do_build builds the tree-sitter CLI.
|
||||
make
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# Install libtree-sitter, since do_install installs the tree-sitter CLI.
|
||||
make STRIP=true PREFIX=/usr DESTDIR=${DESTDIR} install
|
||||
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
|
@ -18,6 +28,7 @@ tree-sitter-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/bin
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
|
|
Loading…
Reference in a new issue