aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kalarmcal/APKBUILD
blob: 9218f4313ffa120da5f4ba7ed439dda25d1df713 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kalarmcal
pkgver=19.04.3
pkgrel=0
arch="all"
url="https://kontact.kde.org/"
pkgdesc="The KAlarm client library"
license="LGPL-2.0-or-later"
makedepends="extra-cmake-modules kconfig-dev ki18n-dev kholidays-dev akonadi-dev kcalcore-dev kidentitymanagement-dev kcalutils-dev"
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 ctest
}

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

sha512sums="a676f5fbb2a045dffe2e34d1cc1e9a33719b01c88ee18b3ac35d1b588f61e70d163decd00b3e68ce9a949b07e78baff74503deebcb1ea3fe5967d471234a2bb9  kalarmcal-19.04.3.tar.xz"