36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kxmlrpcclient
|
|
pkgver=5.44.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="288ab20ec3465e82b52792e572c03b8d0eda0a1e1e275850065a113906a41f835ed7d33ced43d6069bfef9ef479ee91deaffa5fadfebbeb0d1eb6dd3c57968e5 kxmlrpcclient-5.44.0.tar.xz"
|