aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kitinerary/APKBUILD
blob: 4b8a590346da4e4f4bb255e9c6f1a19232aaf51c (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.1
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="ed276372ac2161d87a5b8391a2de1242a6533474e0cc4427ee5ea6295ae682db1a15c9bb12585898cca7f37bf4217bbeca4cb2cfaebe9b694f216808be972055  kitinerary-19.08.1.tar.xz"