# Template file for 'eventviews'
pkgname=eventviews
version=22.12.1
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools kcoreaddons kconfig
 gettext"
makedepends="calendarsupport-devel kdiagram-devel"
short_desc="Library for creating events"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=493f58ee0a9b6c4896aad9fd11e5c292fb7d30c4dabdd439974c0e6ba7b274af

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