desktop/support-pkg-akonadi/PKGBUILD

42 lines
1.1 KiB
Bash
Raw Normal View History

2011-01-21 04:47:18 +08:00
#
# 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
2011-07-23 02:02:15 +08:00
pkgver=1.6.0
pkgrel=1
2011-01-21 04:47:18 +08:00
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')
2011-07-23 02:02:15 +08:00
depends=('shared-mime-info' 'boost-libs' 'mysql>=5.5.14' 'soprano>=2.6.51')
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost')
2011-01-21 04:47:18 +08:00
install=$pkgname.install
2011-07-23 02:02:15 +08:00
source=("ftp://ftp.gtlib.cc.gatech.edu/pub/kde/stable/akonadi/src//${pkgname}-${pkgver}.tar.bz2")
md5sums=('16bc40e022d06f287f18c71faaeb2e42')
2011-01-21 04:47:18 +08:00
2011-07-23 02:02:15 +08:00
build()
{
cd ${srcdir}/${pkgname}-${pkgver}
cd ${srcdir}
mkdir -p build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE
make || return 1
2011-01-21 04:47:18 +08:00
}
2011-07-23 02:02:15 +08:00
package()
{
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
2011-01-21 04:47:18 +08:00
}