# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=khotkeys pkgver=9999_git1688532559 pkgrel=0 # armhf blocked by extra-cmake-modules # s390x and riscv64 blocked by libksysguard arch="all !armhf !s390x !riscv64" url="https://kde.org/plasma-desktop/" pkgdesc="Key Accelerator Application" license="GPL-2.0-only AND LGPL-2.0-or-later" makedepends=" extra-cmake-modules kcmutils-dev kdbusaddons-dev kdelibs4support-dev kdoctools-dev kglobalaccel-dev ki18n-dev kio-dev kxmlgui-dev plasma-framework-dev plasma-workspace-dev qt5-qtbase-dev qt5-qtx11extras-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/khotkeys-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-dev" options="!check" # No tests build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 4094e0b55e9a7f7b77fa1722837c9244fa4f429be17a47520570f8f062a787e3eafd0526c2f13f5899f324f5b7efc3ffbe89e6ad8efd922c53045c8bbdb735bf khotkeys-5.27.6.tar.xz " options="$options !strip"