1 # Template file for 'cmark'
6 short_desc="CommonMark parsing and rendering library and program in C"
7 maintainer="pancake <pancake@nopcode.org>"
9 homepage="https://github.com/jgm/cmark"
10 distfiles="https://github.com/jgm/cmark/archive/${version}.tar.gz"
11 checksum=acc98685d3c1b515ff787ac7c994188dadaf28a2d700c10c1221da4199bae1fc
14 # Fix the SONAME version to use just the major number
15 sed -i src/CMakeLists.txt \
16 -e 's;\(SOVERSION ${PROJECT_VERSION_MAJOR}\).*;\1;'
23 cmark-devel_package() {
24 depends="${sourcepkg}>=${version}_${revision}"
25 short_desc+=" - development files"
30 vmove usr/lib/pkgconfig
32 vmove usr/share/man/man3