void-packages/srcpkgs/kf6-kitemmodels/template

27 lines
889 B
Bash

# Template file for 'kf6-kitemmodels'
pkgname=kf6-kitemmodels
version=6.7.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools"
makedepends="qt6-declarative-devel"
short_desc="Set of item models extending the Qt model-view framework"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kitemmodels"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=0aa0205323baf2d519ebb8f96ce7ed5524a8164a7440d905f977418bfbe6d349
kf6-kitemmodels-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}