2016-03-23 18:05:17 +01:00
|
|
|
# Template file for 'cmark'
|
|
|
|
pkgname=cmark
|
2017-08-03 11:57:49 +02:00
|
|
|
version=0.28.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"
|
2017-08-03 11:57:49 +02:00
|
|
|
checksum=68cf191f4a78494a43b7e1663506635e370f0ba4c67c9ee9518e295685bbfe0e
|
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
|
2016-07-17 16:49:28 +02:00
|
|
|
vmove usr/lib/cmake
|
2016-03-23 18:05:17 +01:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|