void-packages/srcpkgs/cmark/template

28 lines
682 B
Bash

# 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
}
}