add qt5 version of akonadi

This commit is contained in:
Fabian Kosmale 2014-07-04 19:55:57 +00:00
parent 0a45d0e9da
commit 078c168092
2 changed files with 46 additions and 0 deletions

35
akonadi-qt5/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
pkgname=akonadi-qt5
pkgver=1.12.0
pkgrel=1
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
arch=('i686' '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")
md5sums=('3fb6703072410534bce51bbc3e6aa6e4')
prepare() {
mkdir build
}
build() {
cd build
cmake ../akonadi-${pkgver} \
-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
}

View File

@ -0,0 +1,11 @@
post_install() {
update-mime-database usr/share/mime &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}