PKGBUILDs/extra/akonadi/PKGBUILD

29 lines
829 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=akonadi
pkgver=1.2.1
pkgrel=1
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
2009-10-11 04:11:32 +00:00
arch=('arm')
2009-10-10 02:23:22 +00:00
url='http://www.akonadi-project.org'
license=('LGPL')
depends=('shared-mime-info' 'boost' 'mysql' 'soprano')
makedepends=('pkgconfig' 'cmake' 'automoc4')
install='akonadi.install'
2009-10-11 04:11:32 +00:00
source=(http://download.akonadi-project.org/${pkgname}-${pkgver}.tar.bz2)
2009-10-10 02:23:22 +00:00
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
make DESTDIR=$pkgdir install
}