1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: Pierre Schmitz <pierre@archlinux.de>
7 pkgname=(akonadi libakonadi)
10 pkgdesc='PIM layer, which provides an asynchronous API to access all kind of PIM data'
12 url='https://kontact.kde.org'
14 makedepends=(extra-cmake-modules postgresql qt5-tools boost kitemmodels kaccounts-integration doxygen)
15 source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
16 sha256sums=('23bf7036b9b6f5d8ce01535c2698d54768bfa7c70c9257e4c92dca4d319cb8f3'
18 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid@kde.org>
19 F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87 # Christoph Feck <cfeck@kde.org>
20 D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
23 cmake -B build -S $pkgname-$pkgver \
29 package_libakonadi() {
30 pkgdesc='Libraries used by applications based on Akonadi'
31 depends=(kitemmodels kaccounts-integration)
33 DESTDIR="$pkgdir" cmake --install build
34 rm -r "$pkgdir"/usr/bin # Provided by akonadi
38 depends=(libakonadi mariadb)
39 optdepends=('postgresql: PostgreSQL backend')
41 DESTDIR="$pkgdir" cmake --install build
42 rm -r "$pkgdir"/{etc,usr/{include,lib,share}} # Provided by libakonadi