# Template file for 'kontactinterface'
pkgname=kontactinterface
version=18.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python"
makedepends="kparts-devel"
short_desc="Kontact Plugin Interface Library"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="Kontact Plugin Interface Library"
distfiles="${KDE_SITE}/applications/${version}/src/kontactinterface-${version}.tar.xz"
checksum=2643d849babe6d514a4c7c3bbe2bd01ba891a8016744f8ac8fe54abe9eb78f74

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