void-packages/srcpkgs/kded/template

28 lines
859 B
Bash

# Template file for 'kded'
pkgname=kded
version=5.41.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules"
makedepends="kdoctools-devel kinit-devel"
short_desc="Central daemon of KDE workspaces"
maintainer="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kded"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=2f5193bfd922d51d3b343bbd370a9a67361f5176b368200304c96eb4ec909583
if [ -n "$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
}
}