# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kde-cli-tools pkgver=5.17.2 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="51cbe94b98e151553fc6752dbc280d95f076cbcd9e26db02f193b8d6a27b5d14c20e3bc5051cbbf44b71b90181ad833da63063ed406c508a686900fbdc8de397 kde-cli-tools-5.17.2.tar.xz"