blob: cb61420aec3242ec9e19396869edd9126e9f5e74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# $Id: PKGBUILD 137927 2011-09-12 16:08:18Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=akonadi
pkgver=1.6.0
pkgrel=3
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
arch=('i686' 'x86_64')
url='http://pim.kde.org/akonadi'
license=('LGPL')
depends=('shared-mime-info' 'boost-libs' 'mysql' 'soprano')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
install="${pkgname}.install"
source=("http://download.kde.org/stable/${pkgname}/src/${pkgname}-${pkgver}.tar.bz2"
'fix-slow-kde-logout.patch')
md5sums=('16bc40e022d06f287f18c71faaeb2e42'
'cdf0c3bd5741303e4f98ea435c39f09d')
build() {
# Already fixed upstream
cd "${srcdir}"/${pkgname}-${pkgver}
patch -p1 -i "${srcdir}"/fix-slow-kde-logout.patch
cd "${srcdir}"
mkdir 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
}
|