void-packages/srcpkgs/kded/template
2018-08-13 11:30:49 +02:00

27 lines
863 B
Bash

# Template file for 'kded'
pkgname=kded
version=5.49.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.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=cc7f716e2086f44410aa13b8415aad1dcf9ce1c8c78ec7250a66e875f5d0d0d0
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
}
}