# Template file for 'grantleetheme'
pkgname=grantleetheme
version=21.08.2
revision=1
build_style=cmake
configure_args="KDE_INSTALL_USE_QT_SYS_PATHS=TRUE"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3
 gettext kcoreaddons"
makedepends="grantlee5-devel ki18n-devel kiconthemes-devel knewstuff-devel"
short_desc="Library for Grantlee theming support"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/grantleetheme-${version}.tar.xz"
checksum=b3cd7a22090db107a18c3a7c847e8667f61e6eecb09a87236664211f844aa176

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