# Template file for 'knighttime'
pkgname=knighttime
version=6.6.3
revision=1
build_style=cmake
hostmakedepends="qt6-base extra-cmake-modules kf6-kconfig gettext
 qt6-tools"
makedepends="qt6-base-devel qt6-position-devel
 kf6-kcoreaddons-devel kf6-kconfig-devel kf6-kdbusaddons-devel
 kf6-kholidays-devel kf6-ki18n-devel"
short_desc="Helpers for scheduling the dark-light cycle"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="LGPL-2.0-or-later"
homepage="https://invent.kde.org/plasma/knighttime"
distfiles="${KDE_SITE}/plasma/${version}/knighttime-${version}.tar.xz"
checksum=97f612eb6cae0ee39ad3579bb9124d701751c83fd02cd3f5ed120896b1313a21

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