# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kxmlrpcclient pkgver=5.62.0 pkgrel=0 pkgdesc="XML-RPC client library for KDE" arch="all" url="https://projects.kde.org/projects/kde/pim/kxmlrpcclient" license="BSD-2-Clause" depends_dev="ki18n-dev kio-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kxmlrpcclient-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make install } sha512sums="d3b324c1373942151b1d40a258f12a0ca685df09278db417eaffb39757f8448bd043ed8940955303a3ccadca6d1f2111846c0dd12c2e32e12856c292923ebd20 kxmlrpcclient-5.62.0.tar.xz"