# Template file for 'akonadi-search'
pkgname=akonadi-search
version=21.12.3
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules qt5-qmake qt5-host-tools python3 AppStream
 gettext kcoreaddons kpackage"
makedepends="akonadi5-devel akonadi-mime-devel xapian-core-devel krunner-devel
 kcmutils-devel kcontacts-devel kcalendarcore-devel"
short_desc="Libraries and daemons to implement searching in Akonadi"
maintainer="John <me@johnnynator.dev>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://community.kde.org/KDE_PIM"
distfiles="${KDE_SITE}/release-service/${version}/src/akonadi-search-${version}.tar.xz"
checksum=d76c0edccf2e25b9e86469d21a32015315e77cb05f489fc3bffb27d6e5ffa6c5

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