vp-build/srcpkgs/check/template

27 lines
754 B
Bash

# Template build file for "check"
pkgname=check
version=0.12.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=464201098bee00e90f5c4bdfa94a5d3ead8d641f9025b560a27755a83b824234
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