# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kxmlrpcclient pkgver=5.108.0 pkgrel=0 pkgdesc="XML-RPC client library for KDE" # armhf blocked by extra-cmake-modules 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 doxygen extra-cmake-modules qt5-qttools-dev samurai " source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kxmlrpcclient-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 38564f845e10f103d7309558a9262baa18049010ecf209cefe7e2c9bdf96ccfd4aaeabcb9ff4533700f3158f7da9ca48f833f7462f852d7f2e1bace687ec6083 kxmlrpcclient-5.108.0.tar.xz "