mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-15 04:05:15 +03:00
24 lines
751 B
Text
24 lines
751 B
Text
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=tree-sitter-rust
|
|
pkgver=0.24.0
|
|
pkgrel=0
|
|
pkgdesc="Rust grammar for tree-sitter"
|
|
url="https://github.com/tree-sitter/tree-sitter-rust"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="tree-sitter-dev"
|
|
install_if="tree-sitter-grammars"
|
|
source="https://github.com/tree-sitter/tree-sitter-rust/archive/v$pkgver/tree-sitter-rust-$pkgver.tar.gz"
|
|
options="!check" # no tests for shared lib
|
|
|
|
build() {
|
|
abuild-tree-sitter build
|
|
}
|
|
package() {
|
|
DESTDIR="$pkgdir" abuild-tree-sitter install
|
|
}
|
|
|
|
sha512sums="
|
|
449bd649860481508d7ad16f83ef850f49a4e8af89467ea4212c75b8af965611be48208775042ce3c12372f9e6b382b0657ddd894f9a793b51425d4fd8ffa73c tree-sitter-rust-0.24.0.tar.gz
|
|
"
|