desktop/support-pkg-akonadi/PKGBUILD
2011-11-23 02:27:07 +00:00

38 lines
1.0 KiB
Bash

#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=akonadi
pkgver=1.6.2
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-libs' 'mysql' 'soprano')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
install=$pkgname.install
source=("ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/akonadi/src//${pkgname}-${pkgver}.tar.bz2")
md5sums=('07e2aa2e6953ac518f9306911747e264')
build() {
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
}