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

Antonio Rojas arojas at archlinux.org
Thu Sep 20 06:18:16 UTC 2018


    Date: Thursday, September 20, 2018 @ 06:18:16
  Author: arojas
Revision: 335065

clang 7 rebuild

Modified:
  clazy/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-20 06:09:18 UTC (rev 335064)
+++ PKGBUILD	2018-09-20 06:18:16 UTC (rev 335065)
@@ -3,7 +3,7 @@
 
 pkgname=clazy
 pkgver=1.3
-pkgrel=2
+pkgrel=3
 pkgdesc="Qt oriented code checker based on clang framework"
 url="https://www.kdab.com/"
 license=(GPL2)
@@ -10,9 +10,11 @@
 depends=(clang)
 makedepends=(cmake llvm)
 arch=(x86_64)
-source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+        clazy-clang7.patch::"https://cgit.kde.org/clazy.git/patch/?id=c1074481")
 sha256sums=('0a9470d653e1c73e06db1421fa922f6ea286408de5abc98e4743b9aee5655188'
-            'SKIP')
+            'SKIP'
+            '39f57c125c69dcbbdd2549090137afed386926f538a54cbaaea57c6a50d03b58')
 validpgpkeys=(949014B23D24354DFD548E5457416A0ADCEF0EFE) # Sergio Martins <sergio.martins at kdab.com>
 
 prepare() {
@@ -19,6 +21,8 @@
   mkdir -p build
 
   sed -e 's|man/man1|share/man/man1|g' -i $pkgname-$pkgver/CMakeLists.txt
+  cd $pkgname-$pkgver
+  patch -p1 -i ../clazy-clang7.patch # Fix build with clang 7
 }
 
 build() {



More information about the arch-commits mailing list