# Template file for 'tree-sitter-latex'
pkgname=tree-sitter-latex
version=0.6.0
revision=1
build_style=tree-sitter
hostmakedepends="tree-sitter-cli nodejs"
short_desc="LaTeX grammar for tree-sitter"
maintainer="classabbyamp <void@placeviolette.net>"
license="MIT"
homepage="https://github.com/latex-lsp/tree-sitter-latex"
distfiles="https://github.com/latex-lsp/tree-sitter-latex/archive/refs/tags/v${version}.tar.gz"
checksum=90d2085c9a46f5da0918ead2fa9b764defd57c34d493f06160f796014d2fd16a

pre_build() {
	tree-sitter generate
}

post_install() {
	vlicense LICENSE
}
