# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=sciplot pkgver=0.2.2 pkgrel=0 pkgdesc="A modern C++ scientific plotting library powered by GNUplot" url="https://sciplot.github.io/" arch="noarch" # Headers only license="MIT" makedepends="cmake" source="https://github.com/sciplot/sciplot/archive/v$pkgver/sciplot-v$pkgver.tar.gz" build() { cmake -B build \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 2e7646e0fd52643bf86c09466d921d7b6a53349cd113e15177c3389654e0489df1d56f5fdcad7fc73834e632fff0a303d1366688ac7bb11937d49babd0742a7f sciplot-v0.2.2.tar.gz "