2024-07-09 08:06:06 +00:00

26 lines
791 B
Plaintext

# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
pkgname=tree-sitter-c-sharp
pkgver=0.21.3
pkgrel=0
pkgdesc="C# Grammar for tree-sitter"
url="https://github.com/tree-sitter/tree-sitter-c-sharp"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="$pkgname-$pkgver.tar.gz::https://github.com/tree-sitter/tree-sitter-c-sharp/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # no tests for shared lib
build() {
abuild-tree-sitter build
}
package() {
DESTDIR="$pkgdir" abuild-tree-sitter install
}
sha512sums="
7f0627853ed5908481b564731b60fd2d2e84e011ed104e8ef1ad3159b0b78c33572a89f89771989bf52839a026f6dcda960af8c5404ced1df9ec73f11f87a8a2 tree-sitter-c-sharp-0.21.3.tar.gz
"