1 # Maintainer: Santiago Torres-Arias <santiago in el archlinux organization>
2 # Maintainer: Javier TiĆ” <javier dot tia at gmail dot com>
7 pkgdesc='The lightest feature rich C++ single header testing framework'
9 url='https://github.com/onqtam/doctest'
12 source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/refs/tags/v${pkgver}.tar.gz")
13 sha256sums=('19b2df757f2f3703a5e63cee553d85596875f06d91a3333acd80a969ef210856')
16 cd "${srcdir}/${pkgname}-${pkgver}"
21 cd "${srcdir}/${pkgname}-${pkgver}/build"
22 cmake -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_BUILD_TYPE=Release \
24 -DCMAKE_INSTALL_LIBDIR=lib \
25 -DDOCTEST_WITH_TESTS=off \
32 # FIXME: will not find tests...
33 cd "${srcdir}/${pkgname}-${pkgver}/build"
35 ctest -C Release --output-on-failure
39 cd "${srcdir}/${pkgname}-${pkgver}/build"
40 make DESTDIR="${pkgdir}" install
41 install -Dm 0644 ../LICENSE.txt \
42 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
45 # vim:set ts=2 sw=2 et: