# Description: An incremental parsing system for programming tools
# URL: https://github.com/tree-sitter/tree-sitter
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on:

name=tree-sitter
version=0.22.5
release=1
source=(https://github.com/tree-sitter/tree-sitter/archive/v$version/$name-$version.tar.gz)

build() {
  cd $name-$version

  make AMALGAMATED=1
  make DESTDIR=$PKG PREFIX=/usr install
}
