# Template file for 'kontactinterface'
pkgname=kontactinterface
version=21.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
 gettext kcoreaddons"
makedepends="kparts-devel"
short_desc="Kontact Plugin Interface Library"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://kontact.kde.org/"
distfiles="${KDE_SITE}/release-service/${version}/src/kontactinterface-${version}.tar.xz"
checksum=e8b0408b7e634e9802ae81caaba3e154a5474a5bfc0c1981386dccb508069de3

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