From c3ebcab2ebd28389889a52e3a6db7596207a0543 Mon Sep 17 00:00:00 2001 From: pancake Date: Wed, 23 Mar 2016 18:05:17 +0100 Subject: [PATCH] New package: cmark-0.24.1 --- common/shlibs | 1 + srcpkgs/cmark-devel | 1 + srcpkgs/cmark/template | 27 +++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 120000 srcpkgs/cmark-devel create mode 100644 srcpkgs/cmark/template diff --git a/common/shlibs b/common/shlibs index 23687a3577f..958636400ff 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 + } +}