# Template build file for "check"
pkgname=check
version=0.11.0
revision=1
build_style=gnu-configure
short_desc="Unit Testing Framework for C"
maintainer="Jan S. <jan.schreib@gmail.com>"
license="LGPL-2.1"
homepage="https://libcheck.github.io/check/"
distfiles="https://github.com/libcheck/check/releases/download/${version}/check-${version}.tar.gz"
checksum=24f7a48aae6b74755bcbe964ce8bc7240f6ced2141f8d9cf480bc3b3de0d5616

check-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
		vmove usr/share/aclocal
	}
}

# REMARKS:
# We want the prepared archive so we don't need texlive in hostmakedepends
