diff options
author | root <root@rshg054.dnsready.net> | 2012-02-29 03:34:34 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-29 03:34:34 +0000 |
commit | 32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (patch) | |
tree | 60ba7e9c94b5ea69643a2022cd2ff890958da0f9 /staging/akonadi | |
parent | 1f567a9d58d16b76320168f0624aa55bd6320284 (diff) |
Wed Feb 29 03:34:34 UTC 2012
Diffstat (limited to 'staging/akonadi')
-rw-r--r-- | staging/akonadi/PKGBUILD | 32 | ||||
-rw-r--r-- | staging/akonadi/akonadi.install | 11 |
2 files changed, 43 insertions, 0 deletions
diff --git a/staging/akonadi/PKGBUILD b/staging/akonadi/PKGBUILD new file mode 100644 index 000000000..3cb3e08fc --- /dev/null +++ b/staging/akonadi/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 151576 2012-02-27 18:21:15Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Pierre Schmitz <pierre@archlinux.de> + +pkgname=akonadi +pkgver=1.7.0 +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=('804309dca70ede35b4a654ab764e9079') + +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/staging/akonadi/akonadi.install b/staging/akonadi/akonadi.install new file mode 100644 index 000000000..7c8a8bd2b --- /dev/null +++ b/staging/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 +} |