vp-build/srcpkgs/bcunit/template

24 lines
666 B
Bash

# Template file for 'bcunit'
pkgname=bcunit
version=3.0.2
revision=2
build_style=cmake
configure_args="-DENABLE_DOC=ON"
short_desc="Lightweight unit tests in C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/BelledonneCommunications/bcunit"
distfiles="${homepage}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=eb7090aca5006aa0cea425722cb3fa1a7139185a7d9d1734d57844f69084713f
bcunit-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share
}
}