aboutsummaryrefslogtreecommitdiffstats
path: root/community/kalarmcal/APKBUILD
blob: 663b905a045cfb107d6439e161380736d39ddeee (plain) (blame)
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
35
36
37
38
39
40
41
42
43
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kalarmcal
pkgver=20.12.2
pkgrel=0
# armhf blocked by extra-cmake-modules
# mips, mips64 and s390x blocked by kconfigwidgets
arch="all !armhf !mips !mips64 !s390x"
url="https://kontact.kde.org/"
pkgdesc="The KAlarm client library"
license="LGPL-2.0-or-later"
makedepends="
	akonadi-dev
	extra-cmake-modules
	kcalendarcore-dev
	kcalutils-dev
	kconfig-dev
	kholidays-dev
	ki18n-dev
	kidentitymanagement-dev
	"
source="https://download.kde.org/stable/release-service/$pkgver/src/kalarmcal-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
options="!check" # Broken

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="af5522ff68bda3f6443aa3049f2826d85567fec77adf72721c79f4a1767272ae8181e663e1b904b7c49953630185df37f4b50999a961f964caa65911653038ba  kalarmcal-20.12.2.tar.xz"