testing/akonadi-calendar: new aport

This commit is contained in:
Bart Ribbers 2019-06-20 16:29:17 +02:00 committed by Leo
parent e0d64d1cc7
commit cb2eddfda4

View File

@ -0,0 +1,34 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-calendar
pkgver=19.04.2
pkgrel=0
pkgdesc="Libraries and daemons to implement basic email handling"
arch="all !ppc64le !s390x" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine
url="https://community.kde.org/KDE_PIM"
license="LGPL-2.0-or-later"
depends_dev="ki18n-dev kwidgetsaddons-dev kxmlgui-dev kio-dev kcodecs-dev
kiconthemes-dev kdbusaddons-dev kmailtransport-dev kidentitymanagement-dev
kcalcore-dev kcalutils-dev akonadi-dev akonadi-contacts-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Broken
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}
package() {
DESTDIR="$pkgdir" make install
}
sha512sums="16beb855787754a8742345b7aba70daeb08efef5356e9245345f3094d6ae79970c14c830f1fd36a52d1b90d465f663ca43e1cb03cff82e465a987c678856cd84 akonadi-calendar-19.04.2.tar.xz"