# $Id: PKGBUILD 180678 2013-03-25 19:15:27Z bpiotrowski $ # Maintainer: Andrea Scarpino # Contributor: Pierre Schmitz pkgname=akonadi pkgver=1.9.1 pkgrel=2 pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data" arch=('i686' 'x86_64' 'mips64el') url='http://community.kde.org/KDE_PIM/Akonadi' license=('LGPL') depends=('shared-mime-info' 'boost-libs' 'mariadb' 'soprano') makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost') install="${pkgname}.install" source=("http://download.kde.org/stable/${pkgname}/src/${pkgname}-${pkgver}.tar.bz2") md5sums=('f150d5e9b4776d683d0b1d64316f0276') build() { mkdir build cd build CXX="g++" \ cmake ../${pkgname}-${pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \ -DQT_QMAKE_EXECUTABLE=qmake-qt4 make } package() { cd build make DESTDIR="${pkgdir}" install }