# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=khotkeys pkgver=5.18.2 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 "$builddir"/build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="5acf66cf3bc7fb3c9ea5bda5e7af9af04883d7e00b82d66357bbc7651d279e9a7f280d94cce7da8427df9377c8161332676333f3ae8d38ef11f0ccf25b2cbb80 khotkeys-5.18.2.tar.xz"