From 3837a11a2a471b9db222d8eb6ed7d2fb9d1778c6 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 22 May 2011 22:46:00 +0000 Subject: Sun May 22 22:46:00 UTC 2011 --- kde-unstable/akonadi/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ kde-unstable/akonadi/akonadi.install | 11 +++++++++++ 2 files changed, 43 insertions(+) create mode 100644 kde-unstable/akonadi/PKGBUILD create mode 100644 kde-unstable/akonadi/akonadi.install (limited to 'kde-unstable') 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 +# Contributor: Pierre Schmitz + +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 +} -- cgit v1.2.3-54-g00ecf