1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 10:45:15 +03:00
aports/community/tree-sitter-bash/APKBUILD
Michał Polański 66ecf82a1c community/tree-sitter-bash: upgrade to 0.19.0_git20221029
for compatibility with latest nvim-treesitter
2022-11-24 12:06:07 +00:00

27 lines
885 B
Text

# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=tree-sitter-bash
pkgver=0.19.0_git20221029
_gitrev=77cf8a7cab8904baf1a721762e012644ac1d4c7b
pkgrel=0
pkgdesc="Bash grammar for tree-sitter"
url="https://github.com/tree-sitter/tree-sitter-bash"
arch="all"
license="MIT"
makedepends="tree-sitter-dev"
install_if="tree-sitter-grammars"
source="https://github.com/tree-sitter/tree-sitter-bash/archive/$_gitrev/tree-sitter-bash-$_gitrev.tar.gz"
builddir="$srcdir/$pkgname-$_gitrev"
options="!check" # no tests for shared lib
build() {
abuild-tree-sitter build
}
package() {
DESTDIR="$pkgdir" abuild-tree-sitter install
}
sha512sums="
d380b35933061cb128729ff0c70867d30a0c3b5599024201dfc972b9c3ebfa8a5501c2693252ccd283edcecf6204d1f1806d10deeb90bb657c934e451bd8721f tree-sitter-bash-77cf8a7cab8904baf1a721762e012644ac1d4c7b.tar.gz
"