void-packages/srcpkgs/kglobalaccel/template

25 lines
819 B
Bash

# Template file for 'kglobalaccel'
pkgname=kglobalaccel
version=5.100.0
revision=1
build_style=cmake
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=c39b4ef33e4c80a6478b6f5a162839d3523c5e4e14c44af647d7f1a72192a2f2
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"
}
}