desktop/libakonadi-qt4/PKGBUILD

49 lines
1.2 KiB
Bash
Raw Normal View History

2015-11-09 04:55:59 +08:00
# $Id$
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
2017-03-18 01:25:03 +08:00
pkgname=libakonadi-qt4
2015-11-09 04:55:59 +08:00
pkgver=1.13.0
2017-03-18 01:25:03 +08:00
pkgrel=12
2015-11-09 04:55:59 +08:00
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data (Qt4 version)"
arch=('x86_64')
url='http://community.kde.org/KDE_PIM/Akonadi'
license=('LGPL')
makedepends=('cmake' 'automoc4' 'boost' 'postgresql' 'mariadb' 'qt4' 'libxslt')
2015-11-09 04:55:59 +08:00
source=("http://download.kde.org/stable/akonadi/src/akonadi-${pkgver}.tar.bz2"
dont-leak-old-external-payload-files.patch)
md5sums=('84eb2e471bd6bdfe54a2a2f1d858c07d'
'9711e300dde3775a38637daa3c20befe')
prepare() {
mkdir -p build
cd akonadi-$pkgver
# https://bugs.kde.org/show_bug.cgi?id=341884
patch -p1 -i ../dont-leak-old-external-payload-files.patch
}
build() {
cd build
cmake ../akonadi-$pkgver \
2015-11-09 04:55:59 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE \
-DWITH_SOPRANO=OFF
make
}
package_libakonadi-qt4() {
pkgdesc='Qt4 akonadi libraries'
depends=('qt4')
conflicts=('akonadi<15')
cd build
make DESTDIR="$pkgdir" install
# conflicts with akonadi
rm -r "$pkgdir"/usr/{bin,share}
}