summaryrefslogtreecommitdiff
path: root/kde-unstable/akonadi
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-22 22:46:00 +0000
committerroot <root@rshg047.dnsready.net>2011-05-22 22:46:00 +0000
commit3837a11a2a471b9db222d8eb6ed7d2fb9d1778c6 (patch)
treeb16474ab1e00c05c11f602c89c6ea093f8d8f0d7 /kde-unstable/akonadi
parent0fdfc2325867395ad4262d06b2d89955ac3cf6a4 (diff)
Sun May 22 22:46:00 UTC 2011
Diffstat (limited to 'kde-unstable/akonadi')
-rw-r--r--kde-unstable/akonadi/PKGBUILD32
-rw-r--r--kde-unstable/akonadi/akonadi.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/kde-unstable/akonadi/PKGBUILD b/kde-unstable/akonadi/PKGBUILD
new file mode 100644
index 000000000..52f2939bd
--- /dev/null
+++ b/kde-unstable/akonadi/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 124449 2011-05-21 11:40:47Z andrea $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=akonadi
+pkgver=1.5.80
+pkgrel=1
+pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
+arch=('i686' 'x86_64')
+url='http://pim.kde.org/akonadi'
+license=('LGPL')
+depends=('shared-mime-info' 'boost-libs' 'mysql' 'soprano')
+makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
+install="${pkgname}.install"
+source=("http://download.akonadi-project.org/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('3ea38477473ee27257b9a6d0504889ec')
+
+build() {
+ cd "${srcdir}"
+ mkdir build
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE
+ make
+}
+
+package() {
+ cd "${srcdir}/build"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/kde-unstable/akonadi/akonadi.install b/kde-unstable/akonadi/akonadi.install
new file mode 100644
index 000000000..7c8a8bd2b
--- /dev/null
+++ b/kde-unstable/akonadi/akonadi.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-mime-database usr/share/mime &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}