PKGBUILDs/extra/akonadi/PKGBUILD
2009-11-26 22:21:46 -08:00

28 lines
868 B
Bash

# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=akonadi
pkgver=1.2.1
pkgrel=2
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
arch=('arm')
url='http://www.akonadi-project.org'
license=('LGPL')
depends=('shared-mime-info' 'boost' 'mysql>=5.1.41' 'soprano')
makedepends=('pkgconfig' 'cmake' 'automoc4')
install=$pkgname.install
source=("http://download.akonadi-project.org/${pkgname}-${pkgver}.tar.bz2")
md5sums=('f9c1d000844f31c67360078ddf60bec2')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
make || return 1
make DESTDIR=${pkgdir} install
}