# Template file for 'libkgapi'
pkgname=libkgapi
version=23.08.5
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-host-tools qt5-qmake python3
 gettext kcoreaddons"
makedepends="kcalendarcore-devel kcontacts-devel kio-devel qt5-location-devel"
short_desc="KDE-based library for accessing various Google services"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/pim/libkgapi"
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
checksum=10249f32a3a8a26a73e251d0415d42b69827ad354b451f62bdbb01bc6a40d7a3

do_check() {
	:
}

libkgapi-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}-${version}_${revision} ${makedepends}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/cmake
		vmove usr/lib/qt5/mkspecs
		vmove "usr/lib/*.so"
	}
}
