Date: Saturday, April 6, 2019 @ 11:01:55 Author: arojas Revision: 350213
archrelease: copy trunk to extra-x86_64 Added: akonadi/repos/extra-x86_64/PKGBUILD (from rev 350212, akonadi/trunk/PKGBUILD) Deleted: akonadi/repos/extra-x86_64/PKGBUILD ----------+ PKGBUILD | 107 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 58 insertions(+), 49 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-06 11:01:31 UTC (rev 350212) +++ PKGBUILD 2019-04-06 11:01:55 UTC (rev 350213) @@ -1,49 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Andrea Scarpino <and...@archlinux.org> -# Contributor: Pierre Schmitz <pie...@archlinux.de> - -pkgname=akonadi -pkgver=18.12.3 -pkgrel=3 -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) -depends=(kio kitemmodels mariadb hicolor-icon-theme) -makedepends=(extra-cmake-modules postgresql qt5-tools boost kdesignerplugin) -optdepends=('postgresql: PostgreSQL backend') -conflicts=(akonadi-client) -provides=(akonadi-client) -replaces=(akonadi-client) -source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} - akonadi-collectionattributetest.patch::https://cgit.kde.org/akonadi.git/patch/?id=3a062e6a - akonadi-exceptions.patch::https://cgit.kde.org/akonadi.git/patch/?id=06f1a32b) -sha256sums=('f930deaade1cac1488b8af05cc28f4a78a441c34dbe875b673af3423f8a14658' - 'SKIP' - '9ed125d59ea13a53df1077867f3c726882f67b5f462fffddd28d84158245cf28' - 'a273374a6f5b6c53f28b5e3429cd3f6906c72ce78a20592855e4119ccb70db6a') -validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> - F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> - -prepare() { - mkdir -p build - - cd $pkgname-$pkgver - patch -Rp1 -i ../akonadi-collectionattributetest.patch # Revert commit that causes hangs - patch -p1 -i ../akonadi-exceptions.patch # Fix unhandled exceptions -} - -build() { - cd build - cmake ../$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DBUILD_TESTING=OFF - make -} - -package() { - cd build - make DESTDIR="$pkgdir" install -} Copied: akonadi/repos/extra-x86_64/PKGBUILD (from rev 350212, akonadi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-06 11:01:55 UTC (rev 350213) @@ -0,0 +1,58 @@ +# 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=18.12.3 +pkgrel=4 +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} + akonadi-collectionattributetest.patch::https://cgit.kde.org/akonadi.git/patch/?id=3a062e6a + akonadi-exceptions.patch::https://cgit.kde.org/akonadi.git/patch/?id=06f1a32b) +sha256sums=('f930deaade1cac1488b8af05cc28f4a78a441c34dbe875b673af3423f8a14658' + 'SKIP' + '9ed125d59ea13a53df1077867f3c726882f67b5f462fffddd28d84158245cf28' + 'a273374a6f5b6c53f28b5e3429cd3f6906c72ce78a20592855e4119ccb70db6a') +validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aa...@kde.org> + F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cf...@kde.org> + +prepare() { + mkdir -p build + + cd $pkgname-$pkgver + patch -Rp1 -i ../akonadi-collectionattributetest.patch # Revert commit that causes hangs + patch -p1 -i ../akonadi-exceptions.patch # Fix unhandled exceptions +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_TESTING=OFF + make +} + +package_libakonadi() { + pkgdesc='Libraries used by applications based on Akonadi' + depends=(kio kitemmodels) + + cd build + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/usr/{bin,share} # Provided by akonadi +} + +package_akonadi() { + depends=(libakonadi mariadb hicolor-icon-theme) + optdepends=('postgresql: PostgreSQL backend') + + cd build + make DESTDIR="$pkgdir" install + rm -r "$pkgdir"/{etc,usr/{include,lib}} # Provided by libakonadi +}