void-packages/srcpkgs/kguiaddons/template

26 lines
891 B
Bash

# Template file for 'kguiaddons'
pkgname=kguiaddons
version=5.61.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons pkg-config extra-cmake-modules qt5-host-tools qt5-tools-devel"
makedepends="qt5-tools-devel qt5-x11extras-devel xcb-util-devel"
short_desc="KDE frameworks - Addons to QtGui"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.0-only, LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/frameworks/kguiaddons"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=40cefa421b5ad5cf211875a35408ba526a5fb34e5ba19ebbda718dbf6b742520
kguiaddons-devel_package() {
short_desc+=" - development"
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove usr/lib/qt5/mkspecs
vmove "usr/lib/*.so"
}
}