[arch-commits] Commit in akonadi/repos (2 files)
Antonio Rojas
arojas at archlinux.org
Fri Jul 19 19:31:45 UTC 2019
Date: Friday, July 19, 2019 @ 19:31:45
Author: arojas
Revision: 358193
archrelease: copy kde-unstable to kde-unstable-x86_64
Added:
akonadi/repos/kde-unstable-x86_64/
akonadi/repos/kde-unstable-x86_64/PKGBUILD
(from rev 358192, akonadi/kde-unstable/PKGBUILD)
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: akonadi/repos/kde-unstable-x86_64/PKGBUILD (from rev 358192, akonadi/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD (rev 0)
+++ kde-unstable-x86_64/PKGBUILD 2019-07-19 19:31:45 UTC (rev 358193)
@@ -0,0 +1,50 @@
+# 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.07.80
+pkgrel=1
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('df539ab1883915f35a1dfd94b0cafc016b36309064b4732966625e64191203b8'
+ 'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid at kde.org>
+ F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+ mkdir -p build
+}
+
+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 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