# Template file for 'kidentitymanagement'
pkgname=kidentitymanagement
version=24.12.1
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake
 -DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins
 -DKDE_INSTALL_QMLDIR=lib/qt6/qml
 -DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt6/mkspecs/modules"
hostmakedepends="extra-cmake-modules qt6-base qt6-tools pkg-config gettext
 kf6-kconfig qt6-declarative-host-tools"
makedepends="qt6-base-devel ktextaddons-devel
 kf6-kcoreaddons-devel kf6-kcompletion-devel kf6-ktextwidgets-devel
 kf6-kxmlgui-devel kf6-kio-devel kirigami-addons-devel kpimtextedit-devel"
short_desc="KDE PIM libraries"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/pim/kidentitymanagement"
distfiles="${KDE_SITE}/release-service/${version}/src/kidentitymanagement-${version}.tar.xz"
checksum=2e8ec6337a5b1c4a94895ac4d336089a7522e57e509aa93f919121df8bbedee3

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