# Template file for 'kitemviews' pkgname=kitemviews version=5.86.0 revision=1 build_style=cmake hostmakedepends="kcoreaddons extra-cmake-modules" makedepends="qt5-devel qt5-tools-devel" short_desc="Set of item views extending the Qt model-view framework" maintainer="John " license="LGPL-2.0-only, LGPL-2.0-or-later" homepage="https://invent.kde.org/frameworks/kitemviews" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=f6c261b76d9eebf665624691db664936d155cdf55ac70a7a2ad1f2ab360ff5d7 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-qmake qt5-host-tools qt5-tools-devel" fi kitemviews-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" } }