# Template file for 'attica-qt5'
pkgname=attica-qt5
version=5.50.0
revision=1
wrksrc=${pkgname%-*}-${version}
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-devel"
makedepends="qt5-devel"
short_desc="A Qt library that implements the Open Collaboration Services API"
maintainer="John <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://projects.kde.org/projects/kdesupport/attica"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%-*}-${version}.tar.xz"
checksum=1c2168adf453e6a2b749bfbafd5fdf320d967a1902053f682b026a2c12ecca47

attica-qt5-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/qt5/mkspecs
		vmove usr/lib/pkgconfig
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
