void-packages/srcpkgs/kded/template
2019-06-08 22:30:32 +02:00

27 lines
863 B
Bash

# Template file for 'kded'
pkgname=kded
version=5.59.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules"
makedepends="kdoctools-devel kinit-devel"
short_desc="Central daemon of KDE workspaces"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-only, LGPL-2.0-or-later"
homepage="https://projects.kde.org/projects/frameworks/kded"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=88e1f19674da8c40b3e97ab5cfcb2252143b3a36de55bd45959694c1e623af9c
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
}
}