void-packages/srcpkgs/doctest/template

26 lines
677 B
Bash

# Template file for 'doctest'
pkgname=doctest
version=2.4.11
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/v${version}.tar.gz"
checksum=632ed2c05a7f53fa961381497bf8069093f0d6628c5f26286161fbd32a560186
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
}
}