# Template file for 'kguiaddons'
pkgname=kguiaddons
version=5.15.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_USE_QT_SYS_PATHS=ON -DBUILD_TESTING=OFF"
hostmakedepends="cmake qt5-qmake pkg-config extra-cmake-modules"
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=081b18c79c37f9e050c87264563392625a7eb0b527fb27c6840f443382b6cc5d

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