mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-18 02:46:43 +02:00
25 lines
791 B
Text
25 lines
791 B
Text
# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
pkgname=tree-sitter-c-sharp
|
|
pkgver=0.23.1
|
|
pkgrel=1
|
|
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="
|
|
8b4467d13f7947b38b13ed1b81f09dd6754155d2a0090d557e7252cd103f80de23d6890cc6de7142f39332cd88395b9976b89833232f16582646c96f1d28a31a tree-sitter-c-sharp-0.23.1.tar.gz
|
|
"
|