mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-02 07:11:47 +01:00
26 lines
791 B
Plaintext
26 lines
791 B
Plaintext
# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
|
|
pkgname=tree-sitter-c-sharp
|
|
pkgver=0.20.0
|
|
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="
|
|
31530ff57d02b84c8e7e7183abb927c40839500afc225cfdbe685495962c3f129ea459efaf73abbb76951bfc14b890cbdfa9a847b3ae92c8db495d173d0e0e08 tree-sitter-c-sharp-0.20.0.tar.gz
|
|
"
|