summaryrefslogtreecommitdiff
path: root/testing/akonadi
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-17 00:01:52 +0000
committerroot <root@rshg054.dnsready.net>2012-07-17 00:01:52 +0000
commit412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (patch)
treeee137173c889a2b7279200c20b168f9d9b9fdd64 /testing/akonadi
parent50a1eb604b2d5503a06d56b76347faa581160245 (diff)
Tue Jul 17 00:01:52 UTC 2012
Diffstat (limited to 'testing/akonadi')
-rw-r--r--testing/akonadi/PKGBUILD32
-rw-r--r--testing/akonadi/akonadi.install11
2 files changed, 43 insertions, 0 deletions
diff --git a/testing/akonadi/PKGBUILD b/testing/akonadi/PKGBUILD
new file mode 100644
index 000000000..f8c8439f1
--- /dev/null
+++ b/testing/akonadi/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 163542 2012-07-15 13:16:21Z ibiru $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Pierre Schmitz <pierre@archlinux.de>
+
+pkgname=akonadi
+pkgver=1.7.2
+pkgrel=2
+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.kde.org/stable/${pkgname}/src/${pkgname}-${pkgver}.tar.bz2")
+md5sums=('c73bb835057a3ee07d37a4f7daaf7ecf')
+
+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/testing/akonadi/akonadi.install b/testing/akonadi/akonadi.install
new file mode 100644
index 000000000..7c8a8bd2b
--- /dev/null
+++ b/testing/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
+}