void-packages/srcpkgs/kglobalacceld/template

38 lines
1.1 KiB
Bash

# Template file for 'kglobalacceld'
pkgname=kglobalacceld
version=6.1.1
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools"
makedepends="kf6-kglobalaccel-devel kf6-kconfig-devel kf6-kcrash-devel
kf6-kdbusaddons-devel kf6-kwindowsystem-devel kf6-kservice-devel
kf6-kio-devel qt6-base-private-devel"
short_desc="Daemon providing Global Keyboard Shortcut functionality"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://invent.kde.org/plasma/kglobalacceld"
distfiles="${KDE_SITE}/plasma/${version}/${pkgname}-${version}.tar.xz"
checksum=3ac759642432d4415a6a17856f33aa09eb6fda99d886b31a73907fd300f38b00
do_check() {
cd build
ctest -E "shortcutstest"
}
kglobalacceld-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
#vmove "usr/lib/*.so"
}
}
khotkeys_package() {
build_style=meta
depends="kglobalacceld"
short_desc+=" - transition"
}