aboutsummaryrefslogtreecommitdiffstats
path: root/testing/eventviews/APKBUILD
blob: 557262f543075d992e13e29ce9b83bd3e9eee48b (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
33
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=eventviews
pkgver=19.04.3
pkgrel=0
pkgdesc="Library for creating events"
arch="all !ppc64le !s390x" # Limited by akonadi-calendar -> kmailtransport -> libkgapi -> qt5-qtwebengine
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 kcalcore-dev calendarsupport-dev
	akonadi-calendar-dev kmime-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

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="b6c20f6a06b2309aa76dccd3a06d843aacb69a4789aa60f4e31800f68a437b034fc2fac8c4fa6d892d3b6f8780c086acae147fc14425c2d3a6f9850080a89532  eventviews-19.04.3.tar.xz"