[arch-commits] Commit in akonadi/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue Mar 31 10:50:42 UTC 2020
Date: Tuesday, March 31, 2020 @ 10:50:39
Author: arojas
Revision: 378856
archrelease: copy trunk to staging-x86_64
Added:
akonadi/repos/staging-x86_64/
akonadi/repos/staging-x86_64/PKGBUILD
(from rev 378855, akonadi/trunk/PKGBUILD)
----------+
PKGBUILD | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
Copied: akonadi/repos/staging-x86_64/PKGBUILD (from rev 378855, akonadi/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-03-31 10:50:39 UTC (rev 378856)
@@ -0,0 +1,53 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgbase=akonadi
+pkgname=(akonadi libakonadi)
+pkgver=19.12.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}
+ akonadi-apparmor.patch::"https://cgit.kde.org/akonadi.git/patch/?id=9c33b1b4")
+sha256sums=('e41714d81ecbb629aaa0b267e0c32a4b1d83c6a45cf3f37d52232003b4c0f325'
+ 'SKIP'
+ '1808e7c110b588d6e9aec53f4b72bc41b3833ecb71309bb602026f6f45fa56bb')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid at kde.org>
+ F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+ mkdir -p build
+
+ cd $pkgbase-$pkgver
+ patch -p1 -i ../akonadi-apparmor.patch # Fix AppArmor profile
+}
+
+build() {
+ cd build
+ cmake ../$pkgname-$pkgver \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package_libakonadi() {
+ pkgdesc='Libraries used by applications based on Akonadi'
+ depends=(kitemmodels kaccounts-integration 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
+}
More information about the arch-commits
mailing list