# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kde-cli-tools pkgver=5.17.3 pkgrel=0 pkgdesc="Tools based on KDE Frameworks 5 to better interact with the system" arch="all" url="https://cgit.kde.org/kde-cli-tools" license="(GPL-2.0-only OR GPL-3.0-only) AND GPL-2.0-or-later AND GPL-2.0-only AND LGPL-2.1-only" makedepends="extra-cmake-modules kdoctools-dev qt5-qtbase-dev qt5-qtsvg-dev qt5-qtx11extras-dev kconfig-dev kiconthemes-dev kinit-dev ki18n-dev kcmutils-dev kio-dev kservice-dev kwindowsystem-dev kactivities-dev kdeclarative-dev kdesu-dev plasma-workspace-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/plasma/$pkgver/kde-cli-tools-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # Broken prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="d7fafdd008799d22631ef14fd040ef690b68d2faafb857313bac5b4d6f7e3a53ef5c242b6ffdb43a5bb2a3e1a9a7daa7647108e6ce9567e1e181c00b25a7e340 kde-cli-tools-5.17.3.tar.xz"