# Template file for 'kiconthemes'
pkgname=kiconthemes
version=5.115.0
revision=1
build_style=cmake
configure_args="-DBUILD_DESIGNERPLUGIN=ON"
hostmakedepends="kcoreaddons extra-cmake-modules kcoreaddons qt5-qmake qt5-host-tools
 gettext python3"
makedepends="kitemviews-devel qt5-svg-devel karchive-devel kconfigwidgets-devel"
short_desc="KDE Icon GUI utilities"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-only, GPL-2.0-or-later"
homepage="https://invent.kde.org/frameworks/kiconthemes"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=6925134bf76bb8bf6b3dabada008ded8f60fa196aa7a00c0c720c29008719d2f

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