1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: André Klitzing <aklitzing () gmail () com>
7 pkgdesc='Qt oriented code checker based on clang framework'
8 url='https://www.kdab.com/'
11 makedepends=(cmake llvm)
13 source=(https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
14 https://github.com/KDE/clazy/commit/20fca52d.patch)
15 sha256sums=('66165df33be8785218720c8947aa9099bae6d06c90b1501953d9f95fdfa0120a'
17 '652854327c1bd48f1e7080ce834dba3fb37d8a8b1d21ebaa5c70be816d8164af')
18 validpgpkeys=(949014B23D24354DFD548E5457416A0ADCEF0EFE) # Sergio Martins <sergio.martins@kdab.com>
21 patch -d $pkgname-$pkgver -p1 < 20fca52d.patch # Fix build with LLVM 15
25 cmake -B build $pkgname-$pkgver \
26 -DCMAKE_INSTALL_PREFIX=/usr
31 DESTDIR="$pkgdir" cmake --install build