blob: 54e6271179ca5345372371d4cf5b0a8e57c912ff (
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
49
50
51
52
53
54
55
56
57
58
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kitinerary
pkgver=19.08.3
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
kcalendarcore-dev
kcontacts-dev
kpkpass-dev
poppler-dev
zxing-cpp-dev
zxing-cpp
zlib-dev
libxml2-dev
"
source="https://download.kde.org/stable/applications/$pkgver/src/kitinerary-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-lang"
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"/build
# 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() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
}
sha512sums="357c8e18353dea4fbf5c73d5948dc81c5ed620e3e43503b62efa6367c13d9807f9c3e6790918c02b968864eabaad12b4f1001f69d2f4cffd4845b40cbb7f2a4d kitinerary-19.08.3.tar.xz
26fc4037196d636641ef696de0334c04325dafce6bbbee2109fffa02d7aeefe4958aa124de8cc1d6a08415936e43cd7d0cf1afed463d15f95f8d3c10e2063434 poppler-082.patch"
|