1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 17:25:17 +03:00
aports/community/tree-sitter-cpp/APKBUILD
2025-04-27 21:37:26 +00:00

25 lines
774 B
Text

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-cpp
pkgver=0.23.4
pkgrel=0
pkgdesc="C++ grammar for tree-sitter"
url="https://github.com/tree-sitter/tree-sitter-cpp"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/tree-sitter/tree-sitter-cpp/archive/v$pkgver/tree-sitter-cpp-v$pkgver.tar.gz"
options="!check" # no tests for shared lib
build() {
CFLAGS="$CFLAGS -std=c11" abuild-tree-sitter build
}
package() {
DESTDIR="$pkgdir" abuild-tree-sitter install
}
sha512sums="
baebacf06ea1527132c641b4e2a2e997c501a63708d7afdb5d9456de519dbd652f25aee03a7b4112ef9a683fa176aaaf96d272de286223773a5d6cdf01605a2e tree-sitter-cpp-v0.23.4.tar.gz
"