# Template file for 'kitemviews' pkgname=kitemviews version=5.53.0 revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" hostmakedepends="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://projects.kde.org/projects/frameworks/kitemviews" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" checksum=b87a79f360683149af0b65d63d192b89ae6b0786b08daf6a52fa9e09d2adc064 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/cmake vmove "usr/lib/*.so" } }