2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgname=kxmlrpcclient
|
2018-01-24 23:23:36 +00:00
|
|
|
pkgver=5.42.0
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgdesc="XML-RPC client library for KDE"
|
|
|
|
arch="all"
|
|
|
|
url="https://projects.kde.org/projects/kde/pim/kxmlrpcclient"
|
2017-11-26 17:08:10 +00:00
|
|
|
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"
|
2017-08-03 20:14:04 +00:00
|
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"
|
2017-08-14 23:23:23 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
2017-08-03 20:14:04 +00:00
|
|
|
|
|
|
|
build() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cmake \
|
2017-08-03 20:14:04 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DBUILD_QCH=ON
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
2017-08-03 20:14:04 +00:00
|
|
|
package() {
|
2017-11-26 17:08:10 +00:00
|
|
|
cd "$builddir"
|
2017-08-03 20:14:04 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
2018-01-24 23:23:36 +00:00
|
|
|
sha512sums="51ba99d8482a372a8785dc79b877d6fdcd64b55ddc4d528d362b129023a64e3125ad5395bf322c56ae786677afa5d07e0dc51a44e3bebe7996ff462e5273c306 kxmlrpcclient-5.42.0.tar.xz"
|