void-packages/srcpkgs/kf6-kxmlgui/template

32 lines
976 B
Bash

# Template file for 'kf6-kxmlgui'
pkgname=kf6-kxmlgui
version=6.5.0
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext"
makedepends="kf6-kconfig-devel kf6-kconfigwidgets-devel qt6-base-private-devel
kf6-kitemviews-devel kf6-kiconthemes-devel kf6-kglobalaccel-devel"
short_desc="KDE Framework for managing menu and toolbar actions"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kxmlgui"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=75549dd54ae7b3e0bf01c6d82ebe2dcc797195ade223b6986dde9d688c5cd903
do_check() {
cd build
# disable failing test
ctest -E "ktoolbar_unittest|kxmlgui_unittest"
}
kf6-kxmlgui-devel_package() {
depends="${makedepends//private-} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}