33 lines
914 B
Bash
33 lines
914 B
Bash
# Template file for 'kxmlrpcclient'
|
|
pkgname=kxmlrpcclient
|
|
version=5.59.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules"
|
|
makedepends="kio-devel"
|
|
short_desc="KDE XML-RPC client"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.1-or-later, BSD-2-Clause"
|
|
homepage="https://projects.kde.org/projects/frameworks/kxmlrpcclient"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=aa80b69d5be12ac6fc3b46a1f262af06a45b86000b1df59345bd2d013a8f4ff0
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING.BSD
|
|
}
|
|
|
|
kxmlrpcclient-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|