# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=korganizer pkgver=${_kdever} pkgrel=1 pkgdesc="Organizational assistant, providing calendars and other similar functionality." arch=('x86_64') url='https://apps.kde.org/en/korganizer' license=('LGPL') depends=('ki18n6' 'kconfig6' 'kconfigwidgets6' 'kcoreaddons6' 'kcrash6' 'kiconthemes6' 'kitemviews6' 'kjobwidgets6' 'kcmutils6' 'knewstuff6' 'kparts6' 'kwidgetsaddons6' 'kxmlgui6' 'kholidays6' 'kuserfeedback6' 'kcontacts6' 'kcalendarcore6' 'akonadi' 'akonadi-contacts' 'kidentitymanagement' 'kmailtransport' 'kcalutils' 'kldap' 'akonadi-calendar' 'kontactinterface' 'kmime' 'akonadi-notes' 'pimcommon' 'libkdepim' 'incidenceeditor' 'calendarsupport' 'eventviews' 'kdepim-runtime' 'kdepim-addons') makedepends=('extra-cmake-modules' 'kdoctools6' 'qt6-tools') groups=('kdepim') source=($_mirror/${pkgname}-${_kdever}.tar.xz) md5sums=(`grep ${pkgname}-${_kdever}.tar.xz ../kde-sc.md5 | cut -d" " -f1`) prepare() { cd $pkgname-${pkgver} #sed -i -e 's|setRecursiveFiltering(true)|setRecursiveFilteringEnabled(true);|' src/akonadicollectionview.cpp } build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DQT_MAJOR_VERSION=6 cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }