# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=khotkeys pkgver=5.18.5 pkgrel=0 arch="all !armhf" # armhf blocked by extra-cmake-modules url="https://www.kde.org/workspaces/plasmadesktop/" pkgdesc="Key Accelerator Application" license="GPL-2.0-only AND LGPL-2.0-or-later" makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtx11extras-dev kglobalaccel-dev ki18n-dev kio-dev kxmlgui-dev kdelibs4support-dev kdbusaddons-dev kcmutils-dev plasma-framework-dev plasma-workspace-dev kdoctools-dev" source="https://download.kde.org/stable/plasma/$pkgver/khotkeys-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang $pkgname-dev" options="!check" # No tests build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="67e5d904127764e89d4a5c5d1c5fcc6ff0070d2a298f1032189dd3e9e17246482431ae651869d157625fc81caedee2a897947a6cb0bbe7508b5d76c61f5fca85 khotkeys-5.18.5.tar.xz"