# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kxmlrpcclient pkgver=5.58.0 pkgrel=0 pkgdesc="XML-RPC client library for KDE" arch="all" url="https://projects.kde.org/projects/kde/pim/kxmlrpcclient" license="BSD-2" depends="" depends_dev="kio-dev kservice-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kconfig-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev ki18n-dev kcoreaddons-dev" makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="7046113f391169bef272fa98900d564d65b53f8fd8e5ac95babe21979139cb7f91e902d00801fb928e6a4a5c3a8f5b09689f3c49038194bb5e24650f8b6cebe2 kxmlrpcclient-5.58.0.tar.xz"