void-packages/srcpkgs/doctest/template
2022-01-16 15:54:48 -03:00

25 lines
676 B
Bash

# Template file for 'doctest'
pkgname=doctest
version=2.4.8
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=f52763630aa17bd9772b54e14b6cdd632c87adf0169455a86a49bd94abf2cd83
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
}
}