Update package version to 0.5.2
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name: tree-sitter-markdown
|
||||
description: Markdown grammar for tree-sitter
|
||||
version: 0.5.1
|
||||
version: 0.5.2
|
||||
revision: 1
|
||||
url: https://github.com/tree-sitter-grammars/tree-sitter-markdown
|
||||
license: MIT
|
||||
@@ -15,4 +15,4 @@ downloads:
|
||||
- url: https://github.com/tree-sitter-grammars/tree-sitter-markdown/archive/refs/tags/v${BPM_PKG_VERSION}.tar.gz
|
||||
extract_to: ${BPM_SOURCE}
|
||||
extract_strip_components: 1
|
||||
checksum: acaffe5a54b4890f1a082ad6b309b600b792e93fc6ee2903d022257d5b15e216
|
||||
checksum: 122be47d4a50ac75a4f6861a17c3c88144197e0949f5d83ca917f2382b37761b
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
From 40e7ad7b1ae05a1ea1848cedfe8f3bd853f27ff2 Mon Sep 17 00:00:00 2001
|
||||
From: Konstantin Podsvirov <[email protected]>
|
||||
Date: Sun, 11 Jan 2026 21:26:17 +0300
|
||||
Subject: [PATCH] fix: cmake --install
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 5d8b4c1..561fdfb 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -52,7 +52,7 @@ macro(add_parser name)
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/bindings/c/tree-sitter-${name}.pc.in"
|
||||
"${CMAKE_CURRENT_BINARY_DIR}/tree-sitter-${name}.pc" @ONLY)
|
||||
|
||||
- install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/bindings/c/tree-sitter-${name}.h"
|
||||
+ install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/bindings/c/tree-sitter/tree-sitter-${name}.h"
|
||||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/tree_sitter")
|
||||
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/tree-sitter-${name}.pc"
|
||||
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||
@@ -5,6 +5,9 @@
|
||||
# The prepare function is executed in the root of the temp directory
|
||||
# This function is used for putting downloaded files to the correct location or applying patches
|
||||
prepare() {
|
||||
cd "$BPM_SOURCE"
|
||||
patch -Np1 -i "$BPM_WORKDIR"/fix-cmake-install.patch
|
||||
|
||||
cd "$BPM_SOURCE"/tree-sitter-markdown
|
||||
tree-sitter generate src/grammar.json
|
||||
cd "$BPM_SOURCE"/tree-sitter-markdown-inline
|
||||
|
||||
Reference in New Issue
Block a user