# $Id: PKGBUILD 191298 2013-07-23 11:52:23Z andrea $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=akonadi pkgver=1.10.1 pkgrel=1 pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data" arch=('i686' 'x86_64') url='http://community.kde.org/KDE_PIM/Akonadi' license=('LGPL') depends=('shared-mime-info' 'boost-libs' 'mariadb' 'soprano') makedepends=('cmake' 'automoc4' 'boost' 'postgresql') optdepends=('postgresql: PostgreSQL backend') install="${pkgname}.install" source=("http://download.kde.org/stable/${pkgname}/src/${pkgname}-${pkgver}.tar.bz2") md5sums=('5b03c46e1e9da439e4ec63bf7b2087c2') prepare() { mkdir build } build() { cd build cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \ -DQT_QMAKE_EXECUTABLE=qmake-qt4 \ -DAKONADI_BUILD_TESTS=OFF make } package() { cd build make DESTDIR="${pkgdir}" install }