db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / clazy / trunk / PKGBUILD
blobf6b2278d4999be09fc946226af5c37db8f77cdee
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: AndrĂ© Klitzing <aklitzing () gmail () com>
4 pkgname=clazy
5 pkgver=1.11
6 pkgrel=3
7 pkgdesc='Qt oriented code checker based on clang framework'
8 url='https://www.kdab.com/'
9 license=(GPL2)
10 depends=(clang)
11 makedepends=(cmake llvm)
12 arch=(x86_64)
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'
16             'SKIP'
17             '652854327c1bd48f1e7080ce834dba3fb37d8a8b1d21ebaa5c70be816d8164af')
18 validpgpkeys=(949014B23D24354DFD548E5457416A0ADCEF0EFE) # Sergio Martins <sergio.martins@kdab.com>
20 prepare() {
21   patch -d $pkgname-$pkgver -p1 < 20fca52d.patch # Fix build with LLVM 15
24 build() {
25   cmake -B build $pkgname-$pkgver \
26     -DCMAKE_INSTALL_PREFIX=/usr
27   cmake --build build
30 package() {
31   DESTDIR="$pkgdir" cmake --install build