void-packages/srcpkgs/doctest/template

26 lines
675 B
Bash

# Template file for 'doctest'
pkgname=doctest
version=2.4.6
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=39110778e6baf373ef04342d7cb3fe35da104cb40769103e8a2f0035f5a5f1cb
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
}
}