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-03-27 18:14:06 +02:00
version=0.25.2
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-03-27 18:14:06 +02:00
checksum=530ae56d81a370ce29ed77fd3a34628c94277320f23657f5efb402283716f29b
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
}
}