# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi-search pkgver=18.08.1 pkgrel=0 pkgdesc='Libraries and daemons to implement searching in Akonadi' arch="all" url='https://community.kde.org/KDE_PIM' license="GPL-2.0 LGPL-2.1" depends="" depends_dev="qt5-qtbase-dev ki18n-dev kconfig-dev kcrash-dev kcmutils-dev krunner-dev akonadi-dev kcontacts-dev kmime-dev akonadi-mime-dev kcalcore-dev xapian-core-dev" makedepends="$depends_dev extra-cmake-modules" source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-lang" options="!check" # Requires running X11 server build() { cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON make } check() { cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="38b22a9d90049c93745f968aa9026e9f27cec840534e71e93c3a9deb16fddb604e6853ead21c50e9a3647a43768afe19fa48477aa2eb777dc7441031387ba3d4 akonadi-search-18.08.1.tar.xz"