aports/testing/tree-sitter-ron/APKBUILD
2024-10-19 20:19:00 +00:00

25 lines
824 B
Text

# Contributor: Matthias Ahouansou <matthias@ahouansou.cz>
# Maintainer: Matthias Ahouansou <matthias@ahouansou.cz>
pkgname=tree-sitter-ron
pkgver=0.2.0
pkgrel=0
pkgdesc="Rusty Object Notation (RON) grammar for tree-sitter"
url="https://github.com/tree-sitter-grammars/tree-sitter-ron"
arch="all"
license="Apache-2.0"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="$pkgname-$pkgver.tar.gz::https://github.com/tree-sitter-grammars/tree-sitter-ron/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="
b24002e7bd87bcfd503f6db96fa0e4ea20769d12b5da892156f5791269c532280b7ecd4f8989f04e240c7a96724e7f43056cca3b6b425682dae628fdf0fde2a7 tree-sitter-ron-0.2.0.tar.gz
"