New package: tree-sitter-0.18.2.

By ericonr:
- move to 0.18.2
This commit is contained in:
Harrison Thorne 2020-11-18 08:25:32 -07:00 committed by Érico Rolim
parent 750e480423
commit 79df2fe596
3 changed files with 28 additions and 0 deletions

View file

@ -3920,3 +3920,4 @@ libsixel.so.1 libsixel-1.8.6_1
libpamtest.so.0 pam_wrapper-1.1.3_1
libopenaptx.so.0 libopenaptx-0.2.0_1
libsword-1.8.1.so libsword-1.8.1_6
libtree-sitter.so.0 tree-sitter-0.18.2_1

1
srcpkgs/tree-sitter-devel Symbolic link
View file

@ -0,0 +1 @@
tree-sitter

View file

@ -0,0 +1,26 @@
# Template file for 'tree-sitter'
pkgname=tree-sitter
version=0.18.2
revision=1
build_style=gnu-makefile
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=feedb3e77f7869baf3b242c586aa5be4277a049c6e0bc366ee5c6aeb4ba3da39
post_install() {
vlicense LICENSE
}
tree-sitter-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}