# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=akonadi-search pkgver=18.12.0 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="49c6aab6f55eb34debb482307f95d422e7706ee257ddf90684c77ea4f45767282325d05d3284f1336289913f09dbeaa1acc26a6f8d92e303ced7d62bef74ee9c akonadi-search-18.12.0.tar.xz"