diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-05-31 17:55:58 +0200 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-06-01 17:41:58 +0000 |
commit | 99084134256e3a742058c26661ec6e241ba4a453 (patch) | |
tree | 3bb6c112fd97b185da678cb5fa44f03758e5ee1a /testing/kxmlrpcclient | |
parent | 7f13f7956cac4a4d8d132b2296acaa29dada43d5 (diff) | |
download | aports-99084134256e3a742058c26661ec6e241ba4a453.tar.bz2 aports-99084134256e3a742058c26661ec6e241ba4a453.tar.xz |
testing/kxmlrpcclient: new aport
Closes GH-8328
Diffstat (limited to 'testing/kxmlrpcclient')
-rw-r--r-- | testing/kxmlrpcclient/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kxmlrpcclient/APKBUILD b/testing/kxmlrpcclient/APKBUILD new file mode 100644 index 0000000000..1ee96f70b2 --- /dev/null +++ b/testing/kxmlrpcclient/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +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-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%.*}/${pkgname}-${pkgver}.tar.xz" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" + +build() { + cmake \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_QCH=ON + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + DESTDIR="$pkgdir" make install +} +sha512sums="7046113f391169bef272fa98900d564d65b53f8fd8e5ac95babe21979139cb7f91e902d00801fb928e6a4a5c3a8f5b09689f3c49038194bb5e24650f8b6cebe2 kxmlrpcclient-5.58.0.tar.xz" |