[arch-commits] Commit in clazy/repos (staging-x86_64 staging-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Thu May 27 14:46:15 UTC 2021


    Date: Thursday, May 27, 2021 @ 14:46:15
  Author: arojas
Revision: 416554

archrelease: copy trunk to staging-x86_64

Added:
  clazy/repos/staging-x86_64/
  clazy/repos/staging-x86_64/PKGBUILD
    (from rev 416553, clazy/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: clazy/repos/staging-x86_64/PKGBUILD (from rev 416553, clazy/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-05-27 14:46:15 UTC (rev 416554)
@@ -0,0 +1,32 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: André Klitzing <aklitzing () gmail () com>
+
+pkgname=clazy
+pkgver=1.9
+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/2592a6e3.patch)
+sha256sums=('4c6c2e473e6aa011cc5fab120ebcffec3fc11a9cc677e21ad8c3ea676eb076f8'
+            '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
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list