makedepends=(cmake)

description="The lightest feature rich C++ single header testing framework"
url="https://github.com/doctest/doctest"

packager="Great-OS Team"
maintainer="Great-OS Team"

name="doctest"
version="2.4.12"
release=1

source=(https://github.com/doctest/doctest/archive/v$version.tar.gz)

build() {
  cd ${name}-${version}
  cmake -S . \
        -B build \
        -DCMAKE_BUILD_TYPE=None \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -Wno-dev
  cmake --build build
  DESTDIR="${PKG}" cmake --install build
}
