# Template file for 'kontactinterface'
pkgname=kontactinterface
version=21.08.2
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=8f5f0b86745273341b9f25bb24eb7bd12fe12894dce0886b47bf940f26655b71

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