void-packages/srcpkgs/kded/template
2021-09-21 09:39:39 +02:00

26 lines
817 B
Bash

# Template file for 'kded'
pkgname=kded
version=5.86.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="kdoctools-devel kinit-devel"
short_desc="Central daemon of KDE workspaces"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-only, LGPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kded"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=dc77534c1612b1232bcc52431bbdc8a4a46b095c90ba60c09a01e6404118a36a
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-qmake kdoctools"
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
fi
kded-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/cmake
}
}