32 lines
981 B
Bash
32 lines
981 B
Bash
# Template file for 'kglobalaccel'
|
|
pkgname=kglobalaccel
|
|
version=5.115.0
|
|
revision=3
|
|
build_style=cmake
|
|
configure_args="-DKF6_COMPAT_BUILD=ON"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules kcoreaddons pkg-config
|
|
qt5-qmake qt5-host-tools qt5-tools"
|
|
makedepends="kservice-devel kcrash-devel"
|
|
short_desc="KDE Global desktop keyboard shortcuts"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.0-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kglobalaccel"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=c533d5447d0dded4a349e86dfaf97ca4e4d1def41e2ebed03fb856bfae69acc3
|
|
|
|
post_install() {
|
|
# conflicts with kglobalacceld
|
|
rm -rf "${DESTDIR}/usr/lib/systemd/user/plasma-kglobalaccel.service"
|
|
}
|
|
|
|
kglobalaccel-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|