aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kitinerary/APKBUILD
blob: ba0df34be38a14a07dbe8d14ab579b8a04329a57 (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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kitinerary
pkgver=19.08.0
pkgrel=0
arch="all"
url="https://kontact.kde.org/"
pkgdesc="Data model and extraction system for travel reservation information"
license="LGPL-2.0-or-later"
makedepends="
	extra-cmake-modules
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	ki18n-dev
	kmime-dev
	kcalcore-dev
	kcontacts-dev
	kpkpass-dev
	poppler-dev
	zxing-cpp-dev
	zxing-cpp
	zlib-dev
	libxml2-dev
	kcalcore-dev
	"
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() {
	# jsonlddocumenttest, mergeutiltest, airportdbtest, pkpassextractortest,
	# postprocessortest, calendarhandlertest and extractortest are broken
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest \
		-E "(jsonlddocument|mergeutil|airportdb|pkpassextractor|postprocessor|calendarhandler|extractor)test"
}

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

sha512sums="a296be0c928a0b76d6de0072f337eff85bf2183b4b44d94ed372d8e3caecb869821500c4bd9ca6d3a81021e301759b1433f1c9580d3d2b2cd4f182d5a8607853  kitinerary-19.08.0.tar.xz"