void-packages/srcpkgs/cmark/template

29 lines
704 B
Bash
Raw Normal View History

2016-03-23 17:05:17 +00:00
# Template file for 'cmark'
pkgname=cmark
2016-11-21 20:48:35 +00:00
version=0.27.1
2016-03-23 17:05:17 +00: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-11-21 20:48:35 +00:00
checksum=669b4c19355e8cb90139fdd03b02283b97130e92ea99a104552a2976751446b5
2016-03-23 17:05:17 +00: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
2016-07-17 14:49:28 +00:00
vmove usr/lib/cmake
2016-03-23 17:05:17 +00:00
vmove usr/share/man/man3
}
}