2021-12-04 20:13:54 +00:00
|
|
|
# Template file for 'cmark-gfm'
|
|
|
|
pkgname=cmark-gfm
|
2022-03-04 17:31:36 +00:00
|
|
|
version=0.29.0.gfm.3
|
2021-12-04 20:13:54 +00:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
short_desc="GitHub's fork of cmark, a CommonMark markdown renderer"
|
|
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/github/cmark-gfm"
|
|
|
|
distfiles="https://github.com/github/cmark-gfm/archive/${version}.tar.gz"
|
2022-03-04 17:31:36 +00:00
|
|
|
checksum=56fba15e63676c756566743dcd43c61c6a77cc1d17ad8be88a56452276ba4d4c
|
2021-12-04 20:13:54 +00:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
# Fix the SONAME version to use just the major number
|
|
|
|
vsed -i -e 's;\(SOVERSION ${PROJECT_VERSION_MAJOR}\).*;\1;' \
|
|
|
|
src/CMakeLists.txt extensions/CMakeLists.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
|
|
|
|
|
|
|
cmark-gfm-devel_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|