# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libksysguard pkgver=5.12.3 pkgrel=1 pkgdesc='Libksysguard' arch="all" url='https://www.kde.org/workspaces/plasmadesktop/' license="LGPL-2.1" depends="" depends_dev="kwindowsystem-dev plasma-framework-dev qt5-qtscript-dev qt5-qtx11extras-dev kcoreaddons-dev kconfig-dev ki18n-dev kcompletion-dev kauth-dev kwidgetsaddons-dev kiconthemes-dev kconfigwidgets-dev kservice-dev kcodecs-dev plasma-framework kpackage-dev" makedepends="$depends_dev extra-cmake-modules kdoctools" source="https://download.kde.org/stable/plasma/${pkgver}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Fails due to requiring running X11 build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="fbbac93f01d511af1a9b48c0dc4f27a2dee76c6bbf6ccc571ee95aab66d10236e8d0d4ae74c58add6e1e52b8b24d1373672881fe0eaaa7fd30bb629c971add40 libksysguard-5.12.3.tar.xz"