void-packages/srcpkgs/kitemviews/template
2022-04-18 11:58:55 +02:00

27 lines
905 B
Bash

# Template file for 'kitemviews'
pkgname=kitemviews
version=5.93.0
revision=1
build_style=cmake
configure_args="-DBUILD_DESIGNERPLUGIN=ON"
hostmakedepends="kcoreaddons extra-cmake-modules
qt5-qmake qt5-host-tools qt5-tools-devel"
makedepends="qt5-devel qt5-tools-devel"
short_desc="Set of item views extending the Qt model-view framework"
maintainer="John <me@johnnynator.dev>"
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=93f01dec3b795b28cc6f6859873ebb941a9504eaafd13ff9f72b987d71e55abf
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"
}
}