Update package version to 0.8.1
This commit is contained in:
@@ -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:
|
||||
- [email protected]
|
||||
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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user