void-packages/srcpkgs/kitemviews/template
2020-03-17 16:03:53 +01:00

30 lines
960 B
Bash

# Template file for 'kitemviews'
pkgname=kitemviews
version=5.68.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
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 <johnz@posteo.net>"
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=5196885ac42347d67779df61a03d7f9c54f38053ff91348ef6fdc08439b4742f
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"
}
}