From 0877c31e48489a1042a7eddd9045b2266d258ff6 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Fri, 27 Feb 2026 21:23:15 +0200 Subject: [PATCH] Update package version to 0.5.3 --- pkg.info | 6 ++++-- source-files/fix-cmake-install.patch | 22 ---------------------- source.sh | 3 --- 3 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 source-files/fix-cmake-install.patch diff --git a/pkg.info b/pkg.info index 8cccfb2..5d01bee 100644 --- a/pkg.info +++ b/pkg.info @@ -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: + - enumdev@enumerated.dev 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 diff --git a/source-files/fix-cmake-install.patch b/source-files/fix-cmake-install.patch deleted file mode 100644 index 6cb5f18..0000000 --- a/source-files/fix-cmake-install.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 40e7ad7b1ae05a1ea1848cedfe8f3bd853f27ff2 Mon Sep 17 00:00:00 2001 -From: Konstantin Podsvirov -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") diff --git a/source.sh b/source.sh index ee17bef..43a695e 100644 --- a/source.sh +++ b/source.sh @@ -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