void-packages/srcpkgs/kxmlgui/template

26 lines
866 B
Bash

# Template file for 'kxmlgui'
pkgname=kxmlgui
version=5.51.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python"
makedepends="kglobalaccel-devel ktextwidgets-devel attica-qt5-devel"
short_desc="KDE Framework for managing menu and toolbar actions"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kxmlgui"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=dcb68df3acbad5d91849af7ae81af31af6db189d0ff13261303a1bad16cf4232
kxmlgui-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"
}
}