mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/nvim-treesitter: upgrade to 0.10.0
This commit is contained in:
parent
616f375cfb
commit
e7fa84a92d
1 changed files with 9 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
# Maintainer: John Vogel <jvogel@stygian.me>
|
||||
maintainer="John Vogel <jvogel@stygian.me>"
|
||||
pkgname=nvim-treesitter
|
||||
pkgver=0.9.3
|
||||
pkgver=0.10.0
|
||||
pkgrel=0
|
||||
pkgdesc="nvim treesitter configurations and abstraction layer"
|
||||
url="https://github.com/nvim-treesitter/nvim-treesitter/"
|
||||
|
@ -17,14 +17,20 @@ package() {
|
|||
install -dm755 "$pkgdir"/usr/share/nvim/site/pack/dist/start/"$pkgname"
|
||||
cp -a autoload doc lua plugin queries \
|
||||
"$pkgdir"/usr/share/nvim/site/pack/dist/start/"$pkgname"
|
||||
install -Dm644 LICENSE ./*.md -t "$pkgdir"/usr/share/doc/"$pkgname"
|
||||
ln -s /usr/lib/tree-sitter \
|
||||
"$pkgdir"/usr/share/nvim/site/pack/dist/start/"$pkgname"/parser
|
||||
install -Dm644 ./*.md -t "$pkgdir"/usr/share/doc/"$pkgname"
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/"$pkgname"
|
||||
}
|
||||
|
||||
doc() {
|
||||
default_doc
|
||||
nvim -u NONE \
|
||||
+":helptags $pkgdir/usr/share/nvim/site/pack/dist/start/$pkgname/doc" \
|
||||
+":q"
|
||||
amove usr/share/nvim/site/pack/dist/start/"$pkgname"/doc
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
ee18f9e68f6432d93ee5231807366fcbdf42424b885e16164c864b6849b0142c275387e503b92079f4f8158b534dfd074795d976b42957cc7c12f22978ed9f4b vim-treesitter-0.9.3.tar.gz
|
||||
e7892605fb9bb1fa8f129e7e4e71cbd9e59559cd3cf7c65b9f66dc1f37da469ea4488ae87df8ff4066759765b264d5cfe989462a8178b45df00a8804a9b376d8 vim-treesitter-0.10.0.tar.gz
|
||||
"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue