diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-06-25 22:50:46 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-25 20:25:57 -0300 |
commit | 0eb9311314ffdfb9b43a3840482362c578a39def (patch) | |
tree | 54716be8b3b17764f5a3d09aa8adedf1624eca25 /testing/kitinerary | |
parent | a8f76711a3ed5c64e519e15746dc7705db64cdbe (diff) | |
download | aports-0eb9311314ffdfb9b43a3840482362c578a39def.tar.bz2 aports-0eb9311314ffdfb9b43a3840482362c578a39def.tar.xz |
testing/kitinerary: new aport
Diffstat (limited to 'testing/kitinerary')
-rw-r--r-- | testing/kitinerary/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/kitinerary/APKBUILD b/testing/kitinerary/APKBUILD new file mode 100644 index 0000000000..3a50b34f3e --- /dev/null +++ b/testing/kitinerary/APKBUILD @@ -0,0 +1,31 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=kitinerary +pkgver=19.04.2 +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 libphonenumber-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="1794a8e95b3d57ca5a2d8621e653cd5fcbbf434ae70fefdf735929a44577449f0e2d10716a5b2e55087b988a5e90faa8245eb5d7af65bc9e36615bf305715d25 kitinerary-19.04.2.tar.xz" |