[arch-commits] Commit in libakonadi-qt4/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Jul 28 17:19:01 UTC 2015


    Date: Tuesday, July 28, 2015 @ 19:19:00
  Author: arojas
Revision: 242576

Ugly hack to allow building kdepimlibs4

Modified:
  libakonadi-qt4/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-28 17:03:33 UTC (rev 242575)
+++ PKGBUILD	2015-07-28 17:19:00 UTC (rev 242576)
@@ -3,9 +3,10 @@
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Pierre Schmitz <pierre at archlinux.de>
 
-pkgname=libakonadi-qt4
+pkgbase=libakonadi-qt4
+pkgname=(libakonadi-qt4 akonadi-qt4-dbus)
 pkgver=1.13.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Qt4 akonadi libraries"
 arch=('i686' 'x86_64')
 url='http://community.kde.org/KDE_PIM/Akonadi'
@@ -39,7 +40,7 @@
   make
 }
 
-package() {
+package_libakonadi-qt4() {
   cd build
   make DESTDIR="${pkgdir}" install
 
@@ -46,3 +47,11 @@
 # conflicts with akonadi
   rm -r "$pkgdir"/usr/{bin,share}
 }
+
+package_akonadi-qt4-dbus() {
+  depends=()
+  conflicts=(akonadi)
+
+  mkdir -p "$pkgdir"/usr/share/dbus-1/interfaces
+  install -m644 "$srcdir"/akonadi-$pkgver/interfaces/*.xml "$pkgdir"/usr/share/dbus-1/interfaces/
+}



More information about the arch-commits mailing list