[arch-commits] Commit in akonadi (3 files)

Andrea Scarpino andrea at archlinux.org
Sat Dec 12 15:37:40 UTC 2009


    Date: Saturday, December 12, 2009 @ 10:37:40
  Author: andrea
Revision: 61148

prepare kde-unstable repo

Added:
  akonadi/kde-unstable/
  akonadi/kde-unstable/PKGBUILD
  akonadi/kde-unstable/akonadi.install

-----------------+
 PKGBUILD        |   29 +++++++++++++++++++++++++++++
 akonadi.install |   11 +++++++++++
 2 files changed, 40 insertions(+)

Added: kde-unstable/PKGBUILD
===================================================================
--- kde-unstable/PKGBUILD	                        (rev 0)
+++ kde-unstable/PKGBUILD	2009-12-12 15:37:40 UTC (rev 61148)
@@ -0,0 +1,29 @@
+# $Id: $
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=akonadi
+pkgver=1.2.80
+pkgrel=1
+pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
+arch=('i686' 'x86_64')
+url='http://www.akonadi-project.org'
+license=('LGPL')
+depends=('shared-mime-info' 'boost' 'mysql' 'soprano')
+makedepends=('pkgconfig' 'cmake' 'automoc4')
+install=$pkgname.install
+source=("http://download.akonadi-project.org/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('86efecca13035df77d2da534cbd0074e')
+
+build() {
+  cd ${srcdir}
+  mkdir build
+  cd build
+  cmake ../${pkgname}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_SKIP_RPATH=ON \
+    -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
+  make || return 1
+  make DESTDIR=${pkgdir} install
+}

Added: kde-unstable/akonadi.install
===================================================================
--- kde-unstable/akonadi.install	                        (rev 0)
+++ kde-unstable/akonadi.install	2009-12-12 15:37:40 UTC (rev 61148)
@@ -0,0 +1,11 @@
+post_install() {
+	update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+	post_install
+}
+
+post_remove() {
+	post_install
+}




More information about the arch-commits mailing list