diff --git a/common/shlibs b/common/shlibs index 4e848eb93ee..0e7c185c5bd 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2404,3 +2404,4 @@ libunwind.so.1 llvm-libunwind-3.8.0_1 libc++abi.so.1 libcxxabi-3.8.0_1 libfastjson.so.3 libfastjson-0.99.2_1 libdcadec.so.0 dcadec-0.2.0_1 +libcmark.so.0 cmark-0.24.1_1 diff --git a/srcpkgs/cmark-devel b/srcpkgs/cmark-devel new file mode 120000 index 00000000000..c127161ee4e --- /dev/null +++ b/srcpkgs/cmark-devel @@ -0,0 +1 @@ +cmark \ No newline at end of file diff --git a/srcpkgs/cmark/template b/srcpkgs/cmark/template new file mode 100644 index 00000000000..e50da1cacf4 --- /dev/null +++ b/srcpkgs/cmark/template @@ -0,0 +1,27 @@ +# Template file for 'cmark' +pkgname=cmark +version=0.24.1 +revision=1 +build_style=cmake +short_desc="CommonMark parsing and rendering library and program in C" +maintainer="pancake " +license="MIT" +homepage="https://github.com/jgm/cmark" +distfiles="https://github.com/jgm/cmark/archive/${version}.tar.gz" +checksum=7566d307ffff07567faa0381b248f60164eddcc0e0f5eb6e27d6f58e1269ab2a + +post_install() { + vlicense COPYING +} + +cmark-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/share/man/man3 + } +}