Date: Thursday, November 19, 2020 @ 20:57:13 Author: arojas Revision: 401449
archrelease: copy trunk to staging-x86_64 Added: akonadi/repos/staging-x86_64/ akonadi/repos/staging-x86_64/PKGBUILD (from rev 401448, akonadi/trunk/PKGBUILD) ----------+ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) Copied: akonadi/repos/staging-x86_64/PKGBUILD (from rev 401448, akonadi/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2020-11-19 20:57:13 UTC (rev 401449) @@ -0,0 +1,41 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> +# Contributor: Pierre Schmitz <pie...@archlinux.de> + +pkgbase=akonadi +pkgname=(akonadi libakonadi) +pkgver=20.08.3 +pkgrel=2 +pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data" +arch=(x86_64) +url='https://kontact.kde.org' +license=(LGPL) +makedepends=(extra-cmake-modules postgresql qt5-tools boost kitemmodels kaccounts-integration) +source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('144aea34fbc728a4f4d015194593efad0350375cb7dc565db5827b5688558ac3' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DBUILD_TESTING=OFF + cmake --build build +} + +package_libakonadi() { + pkgdesc='Libraries used by applications based on Akonadi' + depends=(kitemmodels kaccounts-integration) + + DESTDIR="$pkgdir" cmake --install build + rm -r "$pkgdir"/usr/bin # Provided by akonadi +} + +package_akonadi() { + depends=(libakonadi mariadb) + optdepends=('postgresql: PostgreSQL backend') + + DESTDIR="$pkgdir" cmake --install build + rm -r "$pkgdir"/{etc,usr/{include,lib,share}} # Provided by libakonadi +}