tree-sitter-vimdoc: initial commit, version 1.2.5
This commit is contained in:
parent
cfdfa93087
commit
248c595322
8
tree-sitter-vimdoc/.footprint
Normal file
8
tree-sitter-vimdoc/.footprint
Normal file
@ -0,0 +1,8 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rw-r--r-- root/root usr/lib/libtree-sitter-vimdoc.so
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/nvim/
|
||||
drwxr-xr-x root/root usr/share/nvim/runtime/
|
||||
drwxr-xr-x root/root usr/share/nvim/runtime/parser/
|
||||
lrwxrwxrwx root/root usr/share/nvim/runtime/parser/vimdoc.so -> /usr/lib/libtree-sitter-vimdoc.so
|
5
tree-sitter-vimdoc/.signature
Normal file
5
tree-sitter-vimdoc/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3x4Dz6p6sJEbNzokjw1Eko68QMrPRVOSIbrNwpmcPmux0eIZzsYZgQ0I/ao/uW1UkGtEc4f/Wz9NUvZ95SOrtwk=
|
||||
SHA256 (Pkgfile) = bfb5a23ff2e52cb6c712bbf33eced7f6e8b25b662d4eb60b0e4a046317638e5a
|
||||
SHA256 (.footprint) = 91a4386a9207d55af4390238c01ff839aa127e3a206f0b7f277bdd53750439cc
|
||||
SHA256 (tree-sitter-vimdoc-1.2.5.tar.gz) = 379d764937a0e3a38e3f9ce9a62c93ba24211a236c74181dd04ee3b4631472a8
|
23
tree-sitter-vimdoc/Pkgfile
Normal file
23
tree-sitter-vimdoc/Pkgfile
Normal file
@ -0,0 +1,23 @@
|
||||
# Description: Tree-sitter parser for Vim help files
|
||||
# URL: https://github.com/neovim/tree-sitter-vimdoc
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: npm tree-sitter
|
||||
|
||||
name=tree-sitter-vimdoc
|
||||
version=1.2.5
|
||||
release=1
|
||||
source=(https://github.com/neovim/tree-sitter-vimdoc/archive/v$version/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
tree-sitter generate --log
|
||||
cd src
|
||||
export CFLAGS+=' -fPIC'
|
||||
cc $CFLAGS -std=c99 -c parser.c
|
||||
cc $LDFLAGS -shared parser.o -o parser.so
|
||||
|
||||
install -Dm 644 parser.so $PKG/usr/lib/libtree-sitter-vimdoc.so
|
||||
install -d $PKG/usr/share/nvim/runtime/parser/
|
||||
ln -s /usr/lib/libtree-sitter-vimdoc.so $PKG/usr/share/nvim/runtime/parser/vimdoc.so
|
||||
}
|
Loading…
Reference in New Issue
Block a user