mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
28 lines
829 B
Bash
28 lines
829 B
Bash
# 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"
|
|
arch=('arm')
|
|
url='http://www.akonadi-project.org'
|
|
license=('LGPL')
|
|
depends=('shared-mime-info' 'boost' 'mysql' 'soprano')
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4')
|
|
install='akonadi.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
|
|
make DESTDIR=$pkgdir install
|
|
}
|