aboutsummaryrefslogtreecommitdiffstats
path: root/community/akonadi-calendar-tools/APKBUILD
blob: 3a869e76379571be6ef374e8e008d616f287f24a (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=akonadi-calendar-tools
pkgver=20.04.0
pkgrel=0
arch="all !ppc64le !s390x !armhf !mips !mips64" # Limited by akonadi-calendar -> kmailtransport -> libkgapi -> qt5-qtwebengine
url="https://kontact.kde.org/"
pkgdesc="CLI tools to manage akonadi calendars"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev kdoctools-dev akonadi-dev kcalendarcore-dev kcalutils-dev akonadi-calendar-dev libkdepim-dev calendarsupport-dev"
source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-calendar-tools-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests available

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make -C build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make -C build install
}

sha512sums="8b1bb9c9be6658b14b4f7e7ee1a5df7d70e6046b172ca0a0fe6d35629b47ab14422dacf1f38f6d52fb67126da6ebcb9a25904664ee83f33ab2f3e63675cffff5  akonadi-calendar-tools-20.04.0.tar.xz"