# Template file for 'kalarmcal'
pkgname=kalarmcal
version=18.08.2
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
 kdoctools kdesignerplugin"
makedepends="kidentitymanagement-devel kholidays-devel kcalcore-devel akonadi5-devel
 kdelibs4support-devel kcalutils-devel"
short_desc="KAlarm client library"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=7d47e6ce7494bd28285676ee39e40be30fc5b3b8a6be237d6399de699781b270

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