mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
43 lines
1.1 KiB
Bash
43 lines
1.1 KiB
Bash
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
|
|
|
pkgname=akonadi
|
|
pkgver=1.13.0
|
|
pkgrel=4
|
|
pkgdesc="PIM layer, which provides an asynchronous API to access all kinds of PIM data"
|
|
arch=('x86_64')
|
|
url='http://www.akonadi-project.org'
|
|
license=('LGPL')
|
|
depends=('shared-mime-info'
|
|
'boost-libs'
|
|
'akonadi-backend')
|
|
makedepends=('pkg-config'
|
|
'cmake'
|
|
'automoc4'
|
|
'boost'
|
|
'postgresql')
|
|
options=('debug')
|
|
install=$pkgname.install
|
|
source=("http://download.kde.org/stable/akonadi/src/${pkgname}-${pkgver}.tar.bz2")
|
|
sha256sums=('8c7f690002ea22c139f3a64394aef2e816e00ca47fd971af7d54a66087356dd2')
|
|
|
|
prepare() {
|
|
[[ -d ${srcdir}/build ]] || rm -rf ${srcdir}/build
|
|
mkdir "${srcdir}/build"
|
|
}
|
|
|
|
build() {
|
|
cd "${srcdir}/build"
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
|
|
-DWITH_SOPRANO=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${srcdir}/build
|
|
make DESTDIR=${pkgdir} install
|
|
}
|