[arch-commits] Commit in zanshin/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Oct 19 10:28:36 UTC 2020


    Date: Monday, October 19, 2020 @ 10:28:35
  Author: arojas
Revision: 726977

Fix build with kontactinterface 20.08 (FS#68330)

Modified:
  zanshin/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-19 10:23:55 UTC (rev 726976)
+++ PKGBUILD	2020-10-19 10:28:35 UTC (rev 726977)
@@ -9,24 +9,24 @@
 license=(GPL)
 depends=(kdepim-runtime kontactinterface)
 makedepends=(extra-cmake-modules kdoctools boost)
-source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://download.kde.org/stable/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
+         zanshin-kontactinterface-20.08.patch::"https://invent.kde.org/pim/zanshin/-/commit/4850c089.patch")
 sha256sums=('b0933d2d9a63bba372966da0ba9e313b85ab2d6aa513a43657da90c65a33612c'
-            'SKIP')
+            'SKIP'
+            '089577115e1711bb3302a373c9c4c488aea8ed445c9f9a5439f6ddbd2e4a0956')
 validpgpkeys=(17166A5275C5FA6F1A48FD78074BBBCB8DECC9E2  # Kevin Ottens <ervin+bluesystems at kde.org>
               2D1D5B0588357787DE9EE225EC94D18F7F05997E) # Jonathan Riddell <jr at jriddell.org>
 
 prepare() {
-  mkdir -p build
+  patch -d $pkgname-$pkgver -p1 -i ../zanshin-kontactinterface-20.08.patch # Fix build with kontactinterface 20.08
 }
 
 build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
+  cmake -B build -S $pkgname-$pkgver \
     -DBUILD_TESTING=OFF
-  make
+  cmake --build build
 }
 
 package() {
-  cd build
-  make DESTDIR="$pkgdir" install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list