cmark: update to 0.31.1.

This commit is contained in:
Shashank Thakur 2025-06-09 11:14:57 +02:00 committed by Duncan Overbruck
parent 506e6e5cf5
commit c4e9e0967d

View file

@ -1,19 +1,21 @@
# Template file for 'cmark' # Template file for 'cmark'
pkgname=cmark pkgname=cmark
version=0.30.3 version=0.31.1
revision=1 revision=1
build_style=cmake build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
short_desc="CommonMark parsing and rendering library and program in C" short_desc="CommonMark parsing and rendering library and program in C"
maintainer="pancake <pancake@nopcode.org>" maintainer="pancake <pancake@nopcode.org>"
license="MIT" license="MIT"
homepage="https://github.com/commonmark/cmark" homepage="https://github.com/commonmark/cmark"
distfiles="https://github.com/commonmark/cmark/archive/${version}.tar.gz" distfiles="https://github.com/commonmark/cmark/archive/${version}.tar.gz"
checksum=85e9fb515531cc2c9ae176d693f9871774830cf1f323a6758fb187a5148d7b16 checksum=3da93db5469c30588cfeb283d9d62edfc6ded9eb0edc10a4f5bbfb7d722ea802
conflicts="python3-commonmark"
pre_configure() { pre_configure() {
# Fix the SONAME version to use just the major number # Fix the SONAME version to use just the major number
vsed -i src/CMakeLists.txt \ vsed -i src/CMakeLists.txt \
-e 's;\(SOVERSION ${PROJECT_VERSION_MAJOR}\).*;\1;' -e 's/SOVERSION ${PROJECT_VERSION}/SOVERSION ${PROJECT_VERSION_MAJOR}/'
} }
post_install() { post_install() {
@ -26,7 +28,6 @@ cmark-devel_package() {
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove usr/lib/cmake vmove usr/lib/cmake
vmove usr/share/man/man3 vmove usr/share/man/man3