# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kxmlrpcclient pkgver=5.69.0 pkgrel=0 pkgdesc="XML-RPC client library for KDE" arch="all !armhf" 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 -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="4732306cef2d9ad050914c182a36c962e45fc6f6235daad2958224b9168a393e02e5c4d595057dd236aa4d6e7600522e32e036a1eab30578096db0ce3763c409 kxmlrpcclient-5.69.0.tar.xz"