# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=calendarsupport pkgver=${_kdever} pkgrel=1 pkgdesc="Library that provides calendar support for PIM." arch=('x86_64') url='https://invent.kde.org/pim/calendarsupport' license=('LGPL') depends=('ki18n6' 'kguiaddons6' 'kio6' 'kcodecs6' 'kcalendarcore6' 'kholidays6' 'kmime' 'kcalutils' 'kidentitymanagement' 'akonadi-calendar' 'akonadi-notes' 'ktextaddons') makedepends=('extra-cmake-modules') groups=('kde' 'kdepim' 'kde-uninstall') source=("http://download.kde.org/stable/applications/${_kdever}/src/${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 \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF \ -DQT_MAJOR_VERSION=6 cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }