# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kglobalaccel pkgver=5.58.0 pkgrel=0 pkgdesc="Add support for global workspace shortcuts" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-or-later" depends_dev="qt5-qtx11extras-dev kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kwindowsystem-dev" makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev xcb-util-keysyms-dev" checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="4dfed2f280aefecaf9f8eecda5b3663c831fd85781ec8b64c2cd208d3e7af170b52603f8746193f48a92dbf86f6e9fd3fde90fb592557867cd78473dbe810990 kglobalaccel-5.58.0.tar.xz"