Date: Thursday, January 5, 2023 @ 21:14:39
Author: arojas
Revision: 466021
archrelease: copy trunk to staging-x86_64
Added:
clazy/repos/staging-x86_64/
clazy/repos/staging-x86_64/PKGBUILD
(from rev 466020, clazy/trunk/PKGBUILD)
clazy/repos/staging-x86_64/keys/
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: clazy/repos/staging-x86_64/PKGBUILD (from rev 466020,
clazy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2023-01-05 21:14:39 UTC (rev 466021)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <[email protected]>
+# Contributor: André Klitzing <aklitzing () gmail () com>
+
+pkgname=clazy
+pkgver=1.11
+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}
+ https://github.com/KDE/clazy/commit/20fca52d.patch)
+sha256sums=('66165df33be8785218720c8947aa9099bae6d06c90b1501953d9f95fdfa0120a'
+ 'SKIP'
+ '652854327c1bd48f1e7080ce834dba3fb37d8a8b1d21ebaa5c70be816d8164af')
+validpgpkeys=(949014B23D24354DFD548E5457416A0ADCEF0EFE) # Sergio Martins
<[email protected]>
+
+prepare() {
+ patch -d $pkgname-$pkgver -p1 < 20fca52d.patch # Fix build with LLVM 15
+}
+
+build() {
+ cmake -B build $pkgname-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}