# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=akonadiconsole pkgver=${_kdever} pkgrel=1 pkgdesc="Application for debugging Akonadi Resources." arch=('x86_64') url='https://invent.kde.org/pim/akonadiconsole' license=('LGPL') depends=('kcompletion6' 'kconfig6' 'kdbusaddons6' 'ki18n6' 'kitemmodels6' 'ktextwidgets6' 'kwidgetsaddons6' 'kxmlgui6' 'kcrash6' 'kcompletion6' 'kitemviews6' 'kio6' 'kcontacts6' 'kcalendarcore6' 'akonadi' 'kmime' 'akonadi-mime' 'libkdepim' 'akonadi-contacts' 'calendarsupport' 'messagelib' 'akonadi-search' 'xapian-core') makedepends=('extra-cmake-modules' 'kdoctools6') groups=('kdepim') source=($_mirror/${pkgname}-${_kdever}.tar.xz) md5sums=(`grep ${pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1`) build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DQT_MAJOR_VERSION=6 cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }