2019-12-31 18:11:01 +00:00
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=itinerary
|
2020-03-27 16:26:23 +00:00
|
|
|
pkgver=0_git20200325
|
|
|
|
_commit="54303b62bf6f4ec0cf1ccc2967364f96104bc68a"
|
|
|
|
pkgrel=0
|
2019-12-31 18:11:01 +00:00
|
|
|
pkgdesc="Application to assist with usage of Travel Reservations"
|
|
|
|
url="https://github.com/KDE/itinerary"
|
2020-01-03 11:52:06 +00:00
|
|
|
arch="all !armhf"
|
|
|
|
license="LGPL-2.0-or-later"
|
2019-12-31 18:11:01 +00:00
|
|
|
depends="prison"
|
|
|
|
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtquickcontrols2-dev
|
|
|
|
qt5-qtlocation-dev ki18n-dev kcontacts-dev kpkpass-dev kitinerary-dev
|
2020-03-27 16:26:23 +00:00
|
|
|
kpublictransport-dev kdbusaddons-dev solid-dev shared-mime-info
|
|
|
|
kholidays-dev knotifications-dev"
|
2019-12-31 18:11:01 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/KDE/itinerary/archive/$_commit.tar.gz
|
2020-03-27 16:26:23 +00:00
|
|
|
0001-Revert-Consider-Reservation-reservationStatus.patch" # requires kitinerary v20.04.0
|
2019-12-31 18:11:01 +00:00
|
|
|
builddir="$srcdir/$pkgname-$_commit"
|
2020-03-27 16:26:23 +00:00
|
|
|
options="!check" # Tests require newest version of kitinerary
|
2019-12-31 18:11:01 +00:00
|
|
|
|
|
|
|
build() {
|
2020-03-27 16:26:23 +00:00
|
|
|
cmake -B build \
|
|
|
|
-DCMAKE_BUILD_TYPE=None \
|
2019-12-31 18:11:01 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2020-03-27 16:26:23 +00:00
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
make -C build
|
2019-12-31 18:11:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2020-03-27 16:26:23 +00:00
|
|
|
cd build
|
2019-12-31 18:11:01 +00:00
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2020-03-27 16:26:23 +00:00
|
|
|
DESTDIR="$pkgdir" make -C build install
|
2019-12-31 18:11:01 +00:00
|
|
|
}
|
2020-03-27 16:26:23 +00:00
|
|
|
sha512sums="563f9d2b6adae2c03a549cb83dbf2cef0baae8fdb1cc4310b6b90e73a25adcbbbf2ce98aaab5b9ff3658823c1b9370344f9f9c932338f8499093f747b5cbda8d itinerary-54303b62bf6f4ec0cf1ccc2967364f96104bc68a.tar.gz
|
|
|
|
1b28272addd954bbea2dc874dc0b2f4ade256da57115db3fa54a088d0367b32cab5b218c9eb273f5c8d9613e36a72be4437f9599067d932ef704e3504653335c 0001-Revert-Consider-Reservation-reservationStatus.patch"
|