mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
30 lines
851 B
Bash
30 lines
851 B
Bash
|
# $ Id: $
|
||
|
# 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=('i686' 'x86_64')
|
||
|
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
|
||
|
}
|