aboutsummaryrefslogtreecommitdiffstats
path: root/testing/akonadi-calendar/APKBUILD
blob: f773adfde272adb0afaf286ab60dc63c901f5a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-calendar
pkgver=19.08.0
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="8587c494ee5df2109c08e0becced54a8ab730fca8ad4c21bb483276130b6d6790970e6761cd909176bed24e6a157c85ed1fffb64c70e3086cf0b1c03e107830d  akonadi-calendar-19.08.0.tar.xz"