From b8abec9ed9a512990961a1e1e1328461b90e7bc3 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Thu, 30 Apr 2026 18:04:40 +0300 Subject: [PATCH] Update package version to 0.8.1 --- pkg.info | 8 ++++++-- source.sh | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pkg.info b/pkg.info index b497f31..ae71442 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,15 @@ name: tree-sitter-vim description: Vimscript grammar for tree-sitter -version: 0.7.0 +version: 0.8.1 revision: 1 url: https://github.com/tree-sitter-grammars/tree-sitter-vim license: MIT +maintainers: + - enumdev@enumerated.dev architecture: any type: source +depends: + - glibc optional_depends: - tree-sitter make_depends: @@ -14,4 +18,4 @@ downloads: - url: https://github.com/tree-sitter-grammars/tree-sitter-vim/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 44eabc31127c4feacda19f2a05a5788272128ff561ce01093a8b7a53aadcc7b2 + checksum: 93cafb9a0269420362454ace725a118ff1c3e08dcdfdc228aa86334b54d53c2a diff --git a/source.sh b/source.sh index 8d8865d..79d5d7f 100644 --- a/source.sh +++ b/source.sh @@ -12,7 +12,7 @@ prepare() { # The build function is executed in the source directory # This function is used to compile the source code build() { - make PREFIX=/usr PARSER_URL="$BPM_PKG_URL" + tree-sitter build --output libtree-sitter-vim.so } # The package function is executed in the source directory @@ -21,7 +21,7 @@ package() { install -d "$BPM_OUTPUT"/usr/lib/tree_sitter ln -sf /usr/lib/libtree-sitter-vim.so "$BPM_OUTPUT"/usr/lib/tree_sitter/vim.so - make DESTDIR="$BPM_OUTPUT" PREFIX=/usr install + install -Dm755 libtree-sitter-vim.so "$BPM_OUTPUT"/usr/lib/libtree-sitter-vim.so # Install package license install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/tree-sitter-vim/LICENSE