desktop/akonadi/PKGBUILD
2012-05-30 18:13:08 +00:00

40 lines
1.0 KiB
Bash

#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
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://www.akonadi-project.org'
license=('LGPL')
depends=('shared-mime-info' 'boost-libs' 'mysql>=5.5.14' 'soprano>=2.7.56')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'postgresql')
install=$pkgname.install
source=("http://download.kde.org/stable/akonadi/src/${pkgname}-${pkgver}.tar.bz2")
md5sums=('c73bb835057a3ee07d37a4f7daaf7ecf')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd ${srcdir}
mkdir -p 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
}