New package: cmark-0.24.1

This commit is contained in:
pancake 2016-03-23 18:05:17 +01:00
parent bd9160b471
commit c3ebcab2eb
3 changed files with 29 additions and 0 deletions

View File

@ -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

1
srcpkgs/cmark-devel Symbolic link
View File

@ -0,0 +1 @@
cmark

27
srcpkgs/cmark/template Normal file
View File

@ -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 <pancake@nopcode.org>"
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
}
}