mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
cmark: update to 0.31.1.
This commit is contained in:
parent
506e6e5cf5
commit
c4e9e0967d
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue