void-packages/srcpkgs/cmark/template

28 lines
682 B
Bash
Raw Normal View History

2016-03-23 18:05:17 +01:00
# Template file for 'cmark'
pkgname=cmark
2016-07-16 15:07:40 +02:00
version=0.26.0
2016-03-23 18:05:17 +01:00
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"
2016-07-16 15:07:40 +02:00
checksum=7ed32e77966c5d06cd6f010b46894cd4d1f494651d6e0da55cb876436fdac806
2016-03-23 18:05:17 +01:00
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
}
}