79df2fe596
By ericonr: - move to 0.18.2
26 lines
699 B
Bash
26 lines
699 B
Bash
# 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
|
|
}
|
|
}
|