void-packages/srcpkgs/cmark/template
2017-10-22 14:41:11 +02:00

28 lines
704 B
Bash

# Template file for 'cmark'
pkgname=cmark
version=0.28.3
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=acc98685d3c1b515ff787ac7c994188dadaf28a2d700c10c1221da4199bae1fc
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/lib/cmake
vmove usr/share/man/man3
}
}