aboutsummaryrefslogtreecommitdiffstats
path: root/community/eventviews/APKBUILD
blob: 028769222613e67edccf6a443b2f6cc511323493 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=eventviews
pkgver=20.12.2
pkgrel=0
pkgdesc="Library for creating events"
# ppc64le, s390x and armhf blocked by akonadi-calendar -> kmailtransport -> libkgapi -> qt5-qtwebengine
arch="all !ppc64le !s390x !armhf !mips !mips64"
url="https://kontact.kde.org/"
license="GPL-2.0-or-later"
depends_dev="qt5-qtbase-dev akonadi-dev ki18n-dev kcodecs-dev kguiaddons-dev
	kiconthemes-dev kservice-dev kcompletion-dev kholidays-dev kdiagram-dev
	libkdepim-dev kcalutils-dev kcalendarcore-dev calendarsupport-dev
	akonadi-calendar-dev kmime-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/release-service/$pkgver/src/eventviews-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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="c76427eff7f14db5b58529e6c62ab1606e68fd90ce397f2d1b44013ea2d6c19761bf8b3900acee16a4aec29e6c5082a03ed349409063e0dbfa933bf68000732a  eventviews-20.12.2.tar.xz"