aboutsummaryrefslogtreecommitdiffstats
path: root/testing/incidenceeditor/APKBUILD
blob: 2fdcc3a34fd5141a16257dbb012cff6637e493c9 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=incidenceeditor
pkgver=19.12.2
pkgrel=1
pkgdesc="KDE PIM incidence editor"
arch="all !ppc64le !s390x !armhf" # Limited by kmailtransport -> libkgapi -> qt5-qtwebengine
url="https://kontact.kde.org/"
license="LGPL-2.0-or-later AND GPL-2.0-or-later"
depends_dev="qt5-qtbase-dev akonadi-dev ki18n-dev kiconthemes-dev kio-dev kmime-dev akonadi-mime-dev kldap-dev kcodecs-dev calendarsupport-dev eventviews-dev libkdepim-dev kdepim-apps-libs-dev kcalutils-dev kcalendarcore-dev kmailtransport-dev kdiagram-dev"
makedepends="$depends_dev extra-cmake-modules"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/incidenceeditor-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"

prepare() {
	default_prepare

	mkdir "$builddir"/build
}

build() {
	cd "$builddir"/build
	cmake "$builddir" \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	cd "$builddir"/build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	cd "$builddir"/build
	DESTDIR="$pkgdir" make install
}
sha512sums="b3477be6a007ae2792d403fb04b396ddec311fc56ea705c8c96a832f6020e1392ac592b89803f834b099b99dae8431db06a7e25d1fcf9f9389c46404edb447ff  incidenceeditor-19.12.2.tar.xz"