void-packages/srcpkgs/kglobalacceld/template

38 lines
1.1 KiB
Bash

# Template file for 'kglobalacceld'
pkgname=kglobalacceld
version=6.2.0
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=2157492575c0d829fc91624c071a4d2b811fac9ccc6430f149c1dd07866e4d7c
do_check() {
cd build
ctest -E "shortcutstest|migrateconfigtest"
}
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"
}