[arch-commits] Commit in clazy/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Thu May 27 14:46:05 UTC 2021
Date: Thursday, May 27, 2021 @ 14:46:05
Author: arojas
Revision: 416553
LLVM/clang 12 rebuild
Modified:
clazy/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-27 14:31:53 UTC (rev 416552)
+++ PKGBUILD 2021-05-27 14:46:05 UTC (rev 416553)
@@ -3,18 +3,24 @@
pkgname=clazy
pkgver=1.9
-pkgrel=2
-pkgdesc="Qt oriented code checker based on clang framework"
-url="https://www.kdab.com/"
+pkgrel=3
+pkgdesc='Qt oriented code checker based on clang framework'
+url='https://www.kdab.com/'
license=(GPL2)
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}
+ https://github.com/KDE/clazy/commit/2592a6e3.patch)
sha256sums=('4c6c2e473e6aa011cc5fab120ebcffec3fc11a9cc677e21ad8c3ea676eb076f8'
- 'SKIP')
+ 'SKIP'
+ '63f9c5766f8995f147d7c2e1a8cf2059d1119a378a58525006eef73294fd2c38')
validpgpkeys=(949014B23D24354DFD548E5457416A0ADCEF0EFE) # Sergio Martins <sergio.martins at kdab.com>
+prepare() {
+ patch -d $pkgname-$pkgver -p1 < 2592a6e3.patch # Fix build with clang 12
+}
+
build() {
cmake -B build $pkgname-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr
More information about the arch-commits
mailing list