# Template file for 'kaccounts-integration'
pkgname=kaccounts-integration
version=22.04.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules pkg-config qt5-host-tools qt5-qmake
 kcoreaddons libaccounts-qt5-devel signond-devel gettext kpackage"
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/"
changelog="https://kde.org/announcements/changelogs/gear/${version}/#kaccounts-integration"
distfiles="${KDE_SITE}/release-service/${version}/src/kaccounts-integration-${version}.tar.xz"
checksum=3e5197c1c7ddce92dd5bdcdcc05492f3c63c468e3c1e743c6e747114d34d08b8

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"
	}
}
