# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kplotting pkgver=5.59.0 pkgrel=0 pkgdesc="Lightweight plotting framework" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="d31dc517f584f129f72dae63e570a3cc077df08e6a0159d719b3bd11769c9a4d22ec5d641b147524db454eeb41c7221fc900ac1852b1fa439cc489f68de6b994 kplotting-5.59.0.tar.xz"