2016-03-23 17:05:17 +00:00
|
|
|
# Template file for 'cmark'
|
|
|
|
pkgname=cmark
|
2016-03-27 16:14:06 +00:00
|
|
|
version=0.25.2
|
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-03-27 16:14:06 +00:00
|
|
|
checksum=530ae56d81a370ce29ed77fd3a34628c94277320f23657f5efb402283716f29b
|
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
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|