APKBUILD 1.29 KB
Newer Older
1 2 3
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-calendar
4
pkgver=21.04.1
5
pkgrel=0
6
pkgdesc="Libraries and daemons to implement basic email handling"
7
arch="all !ppc64le !s390x !armhf !mips !mips64" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine
8 9 10 11
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
12
	kcalendarcore-dev kcalutils-dev akonadi-dev>=$pkgver akonadi-contacts-dev>=$pkgver"
13 14
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
15
source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-calendar-$pkgver.tar.xz"
16 17 18 19
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Broken

build() {
20
	cmake -B build \
21
		-DCMAKE_BUILD_TYPE=None \
22 23
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
24
	cmake --build build
25 26 27
}

check() {
28
	cd build
29 30 31 32
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
33
	DESTDIR="$pkgdir" cmake --build build --target install
34
}
35 36 37
sha512sums="
d7d78ea747aef00b1dbb34ba66adf033fadd0ed4b84566749278dfd943b797fa48d9f2a4a46c93d474d498feb1f0b55b41a21b8b474497b91cfc6b14d2cdbcd9  akonadi-calendar-21.04.1.tar.xz
"