# include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=akonadi-contacts pkgver=${_kdever} pkgrel=1 pkgdesc="Libraries and daemons to implement Contact Management in Akonadi." arch=('x86_64') url='https://invent.kde.org/pim/akonadi-contacts' license=('LGPL') depends=('kio' 'ki18n' 'kcompletion' 'kconfig' 'kcodecs' 'grantleetheme' 'kcontacts' 'kcalcore' 'kmime' 'akonadi-mime' 'libkleo' 'prison' 'qtwebengine' 'qt5-location') makedepends=('extra-cmake-modules' 'kdoctools' 'boost') conflicts=('kdepimlibs' 'kdepimlibs-debug') replaces=('kdepimlibs' 'kdepimlibs-debug') provides=('kdepimlibs') 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/${DATA_INSTALL_DIR}/${KXMLGUI_INSTALL_DIR}/' ${srcdir}/${pkgname}/src/CMakeLists.txt } build() { cmake -B build -S ${pkgname}-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DKDE_INSTALL_LIBDIR=lib \ -DBUILD_TESTING=OFF cmake --build build } package() { DESTDIR=${pkgdir} cmake --install build }