void-packages/srcpkgs/doctest/template

26 lines
675 B
Bash

# Template file for 'doctest'
pkgname=doctest
version=2.4.5
revision=1
build_style=cmake
short_desc="Doctest C++ testing framework"
maintainer="mobinmob <mobinmob@disroot.org>"
license="MIT"
homepage="https://github.com/onqtam/doctest"
changelog="https://raw.githubusercontent.com/onqtam/doctest/master/CHANGELOG.md"
distfiles="https://github.com/onqtam/doctest/archive/${version}.tar.gz"
checksum=b76ece19f0e473e3afa5c545dbdce2dd70bfef98ed0f383443b2f9fd9f86d5b4
post_install() {
vlicense LICENSE.txt
}
doctest-devel_package() {
depends="doctest-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}