# Template file for 'tree-sitter-gitcommit'
pkgname=tree-sitter-gitcommit
version=0.5.0
revision=2
build_style=tree-sitter
depends="tree-sitter-diff tree-sitter-git-rebase"
short_desc="Gitcommit grammar for tree-sitter"
maintainer="classabbyamp <void@placeviolette.net>"
license="WTFPL"
homepage="https://github.com/gbprod/tree-sitter-gitcommit"
distfiles="https://github.com/gbprod/tree-sitter-gitcommit/archive/refs/tags/v${version}.tar.gz"
checksum=d22e688a643f5c26e462175f03dff25932f31bdd1c84e6c3d3571084f67f2680

case "$XBPS_TARGET_MACHINE" in
	i686*) broken="cc1: out of memory allocating 65536 bytes after a total of 3842936832 bytes" ;;
esac
