Update package version to 0.5.3
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
name: tree-sitter-markdown
|
||||
description: Markdown grammar for tree-sitter
|
||||
version: 0.5.2
|
||||
version: 0.5.3
|
||||
revision: 1
|
||||
url: https://github.com/tree-sitter-grammars/tree-sitter-markdown
|
||||
license: MIT
|
||||
maintainers:
|
||||
- [email protected]
|
||||
architecture: any
|
||||
type: source
|
||||
optional_depends:
|
||||
@@ -15,4 +17,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: 122be47d4a50ac75a4f6861a17c3c88144197e0949f5d83ca917f2382b37761b
|
||||
checksum: df845b1ab7c7c163ec57d7fa17170c92b04be199bddab02523636efec5224ab6
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
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,9 +5,6 @@
|
||||
# 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