# Template file for 'tree-sitter-jinja'
pkgname=tree-sitter-jinja
version=0.12.1
revision=1
build_wrksrc="tree-sitter-jinja"
build_style=tree-sitter
short_desc="Jinja grammar for tree-sitter"
maintainer="classabbyamp <void@placeviolette.net>"
license="Apache-2.0"
homepage="https://github.com/cathaysia/tree-sitter-jinja"
distfiles="https://github.com/cathaysia/tree-sitter-jinja/archive/refs/tags/v${version}.tar.gz"
checksum=241d21d30d2228dd413c213650be0b9791468862ac57ff51c288b1e79e85e22f

post_build() {
	cd "${wrksrc}/tree-sitter-jinja_inline"
	do_build
}

post_install() {
	cd "${wrksrc}/tree-sitter-jinja_inline"
	do_install
}
