# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kded pkgver=5.64.0 pkgrel=0 pkgdesc="Extensible deamon for providing system level services" arch="all" url="https://community.kde.org/Frameworks" license="LGPL-2.1-only AND LGPL-2.1-or-later" depends_dev="qt5-qtbase-dev kconfig-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kinit-dev kservice-dev" makedepends="$depends_dev extra-cmake-modules kdoctools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kded-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" prepare() { default_prepare mkdir "$builddir"/build } build() { cd "$builddir"/build cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make } check() { cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir"/build DESTDIR="$pkgdir" make install } sha512sums="aa71bd1eef129131349b61da3645c915aceb309099e1ec2f2d66b3496153072647418ca262a8272e1155a45cdf268dc388f67d64303069d055d22564c4871f09 kded-5.64.0.tar.xz"