void-packages/srcpkgs/kxmlgui/template

26 lines
865 B
Bash

# Template file for 'kxmlgui'
pkgname=kxmlgui
version=5.42.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="Denis Revin <denis.revin@gmail.com>"
license="LGPL-2"
homepage="https://projects.kde.org/projects/frameworks/kxmlgui"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=c01715eb7ba54e10ef3754ac2fd2de580ad6b12568dbe657d17ec2cc5197dd4d
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
}
}