void-packages/srcpkgs/kxmlrpcclient/template
2021-02-19 20:34:33 +01:00

30 lines
888 B
Bash

# Template file for 'kxmlrpcclient'
pkgname=kxmlrpcclient
version=5.79.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules gettext
qt5-host-tools qt5-qmake python3"
makedepends="kio-devel"
short_desc="KDE XML-RPC client"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later, BSD-2-Clause"
homepage="https://invent.kde.org/frameworks/kxmlrpcclient"
distfiles="${KDE_SITE}/frameworks/${version%.*}/portingAids/${pkgname}-${version}.tar.xz"
checksum=8a64d6faadaf6fe36ef8d1493cc0e1be2a1db472f950b9caaaa396ed347d9bb3
post_install() {
vlicense LICENSES/BSD-2-Clause.txt
}
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"
}
}