Date: Thursday, December 12, 2019 @ 12:38:58 Author: arojas Revision: 370759
archrelease: copy trunk to staging-x86_64 Added: akonadi/repos/staging-x86_64/ akonadi/repos/staging-x86_64/PKGBUILD (from rev 370758, akonadi/trunk/PKGBUILD) ----------+ PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) Copied: akonadi/repos/staging-x86_64/PKGBUILD (from rev 370758, akonadi/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2019-12-12 12:38:58 UTC (rev 370759) @@ -0,0 +1,48 @@ +# 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=19.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 kdesignerplugin kio kitemmodels) +source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}) +sha256sums=('cfdfa4767b1bd420c7979cf5125cc56d3926181f8484dc39ecd84a9e0808ee6c' + 'SKIP') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DBUILD_TESTING=OFF + make +} + +package_libakonadi() { + pkgdesc='Libraries used by applications based on Akonadi' + depends=(kio kitemmodels hicolor-icon-theme) + + cd build + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/usr/bin # Provided by akonadi +} + +package_akonadi() { + depends=(libakonadi mariadb) + optdepends=('postgresql: PostgreSQL backend') + + cd build + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/{etc,usr/{include,lib,share}} # Provided by libakonadi +}