# Maintainer: Antoni Aloy pkgname=lxqt-globalkeys pkgver=1.3.0 pkgrel=0 pkgdesc="Daemon used to register global keyboard shortcuts" url="https://github.com/lxqt/lxqt-globalkeys" arch="all !armhf" # armhf blocked by liblxqt and kwindowsystem license="LGPL-2.0-or-later" makedepends=" cmake samurai lxqt-build-tools liblxqt-dev qt5-qttools-dev kwindowsystem-dev " subpackages="$pkgname-dev" options="!check" # No testsuite source="https://github.com/lxqt/lxqt-globalkeys/releases/download/$pkgver/lxqt-globalkeys-$pkgver.tar.xz" build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ $CMAKE_CROSSOPTS . cmake --build build } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums=" 9acdbff95734bc098b312aa906c38766a035041f8f3e58406470716013762a19d7a8f6cc07377dc8921be9aa09647fff2fef69e7c8ed15109dff71cbaf573eb7 lxqt-globalkeys-1.3.0.tar.xz "