29 lines
704 B
Bash
29 lines
704 B
Bash
# Template file for 'cmark'
|
|
pkgname=cmark
|
|
version=0.26.1
|
|
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"
|
|
checksum=b50615a97f9c19e353d65f3bdbd6898ed1443a6f49e38f0aa888d5b58867f5d6
|
|
|
|
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/lib/cmake
|
|
vmove usr/share/man/man3
|
|
}
|
|
}
|