[arch-commits] Commit in kitinerary/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Aug 1 08:08:10 UTC 2020
Date: Saturday, August 1, 2020 @ 08:08:10
Author: arojas
Revision: 392849
archrelease: copy trunk to staging-x86_64
Added:
kitinerary/repos/staging-x86_64/
kitinerary/repos/staging-x86_64/PKGBUILD
(from rev 392848, kitinerary/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: kitinerary/repos/staging-x86_64/PKGBUILD (from rev 392848, kitinerary/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-08-01 08:08:10 UTC (rev 392849)
@@ -0,0 +1,34 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kitinerary
+pkgver=20.04.3
+pkgrel=2
+pkgdesc="Data model and extraction system for travel reservation information"
+arch=(x86_64)
+url="https://kontact.kde.org"
+license=(LGPL)
+depends=(kmime kpkpass kcalendarcore kcontacts poppler libphonenumber zxing-cpp)
+makedepends=(extra-cmake-modules)
+source=("https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
+ kitinerary-zxing-cpp-1.1.patch::"https://invent.kde.org/pim/kitinerary/commit/8bf24e23.patch")
+sha256sums=('8c7dab2e28891af268d22884ecbb9cd7031c4b34352ed3b576dbb6dcb5977c7e'
+ 'SKIP'
+ '23b42066430fd6453d23f1832b4062ca13a782ec0c1db2626d33eafb7a8f3cc9')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7 # Albert Astals Cid <aacid at kde.org>
+ F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+prepare() {
+ patch -d $pkgname-$pkgver -p1 -i ../kitinerary-zxing-cpp-1.1.patch # Fix build with zxing-cpp 1.1
+}
+
+build() {
+ cmake -B build -S $pkgname-$pkgver \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib \
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS} -fexceptions" \
+ -DBUILD_TESTING=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}
More information about the arch-commits
mailing list