mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 07:37:15 +08:00
38 lines
910 B
Bash
38 lines
910 B
Bash
pkgname=akonadi-qt5
|
|
pkgver=1.72.43
|
|
pkgrel=1
|
|
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
|
|
arch=('x86_64')
|
|
url='http://community.kde.org/KDE_PIM/Akonadi'
|
|
license=('LGPL')
|
|
depends=('shared-mime-info' 'boost-libs' 'mariadb')
|
|
makedepends=('cmake' 'automoc4' 'boost' 'postgresql')
|
|
optdepends=('postgresql: PostgreSQL backend')
|
|
install="${pkgname}.install"
|
|
conflicts=('akonadi')
|
|
#source=("http://download.kde.org/stable/akonadi/src/akonadi-${pkgver}.tar.bz2")
|
|
source=("git://anongit.kde.org/akonadi")
|
|
md5sums=('SKIP')
|
|
|
|
prepare() {
|
|
[ -d build ] && rm -r build
|
|
mkdir build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake ../akonadi \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
|
|
-DAKONADI_BUILD_TESTS=OFF \
|
|
-DQT5_BUILD=ON \
|
|
-DWITH_SOPRANO=OFF
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|