void-packages/srcpkgs/doctest/template
2021-12-13 20:55:25 +01:00

25 lines
675 B
Bash

# Template file for 'doctest'
pkgname=doctest
version=2.4.7
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=551941e0b08fefdde39e394d484ed7ac6c867022c865e771f68a717cd3ce7d76
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
}
}