# Template file for 'kaccounts-integration'
pkgname=kaccounts-integration
version=19.08.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-host-tools qt5-qmake"
makedepends="kcmutils-devel kparts-devel libaccounts-qt5-devel signond-devel"
depends="kinit signon-ui signon-plugin-oauth2 signon-kwallet-extension"
short_desc="Administer web accounts for sites and services across the KDE desktop"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="GPL-2.0-or-later"
homepage="https://cgit.kde.org/kaccounts-integration.git/"
distfiles="${KDE_SITE}/applications/${version}/src/kaccounts-integration-${version}.tar.xz"
checksum=7436bb0c8e024122d7137971749ef975878dee557befa4b95bc02ce0801a8450
nocross="libaccounts-qt5 is nocross"

kaccounts-integration-devel_package() {
	short_desc+=" - development"
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}