desktop/support-pkg-akonadi/PKGBUILD

42 lines
1.2 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
pkgver=1.5.2
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')
depends=('shared-mime-info' 'boost' 'mysql>=5.5.11' 'soprano>=2.6.0')
2011-01-21 04:47:18 +08:00
makedepends=('pkgconfig' 'cmake' 'automoc4')
install=$pkgname.install
2011-03-23 08:03:14 +08:00
source=("http://download.akonadi-project.org/${pkgname}-${pkgver}.tar.bz2"
'qt-plugins-path.patch')
md5sums=('1c69a74474389e35709171a329c77bed'
2011-03-23 08:03:14 +08:00
'9e8ad893d8e8d7af2c4f89429e32e367')
2011-01-21 04:47:18 +08:00
build() {
2011-03-23 08:03:14 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
patch -Np1 -i ${srcdir}/qt-plugins-path.patch
2011-01-21 04:47:18 +08:00
cd ${srcdir}
2011-03-23 08:03:14 +08:00
mkdir -p build
2011-01-21 04:47:18 +08:00
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_SKIP_RPATH=ON
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}