# Template file for 'kguiaddons'
pkgname=kguiaddons
version=5.29.0
revision=1
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="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="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="https://projects.kde.org/projects/frameworks/kguiaddons"
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=f3906d76b48660ab685caf06a71d9bd4d716a8875dc0973157f577632601f8b1

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
	}
}
