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

Antonio Rojas arojas at archlinux.org
Sun Aug 26 08:44:59 UTC 2018


    Date: Sunday, August 26, 2018 @ 08:44:59
  Author: arojas
Revision: 333022

community2extra: Moving clazy from community to extra

Added:
  clazy/
  clazy/repos/
  clazy/trunk/
  clazy/trunk/PKGBUILD

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

Added: clazy/trunk/PKGBUILD
===================================================================
--- clazy/trunk/PKGBUILD	                        (rev 0)
+++ clazy/trunk/PKGBUILD	2018-08-26 08:44:59 UTC (rev 333022)
@@ -0,0 +1,35 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: André Klitzing <aklitzing () gmail () com>
+
+pkgname=clazy
+pkgver=1.3
+pkgrel=2
+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})
+sha256sums=('0a9470d653e1c73e06db1421fa922f6ea286408de5abc98e4743b9aee5655188'
+            'SKIP')
+validpgpkeys=(949014B23D24354DFD548E5457416A0ADCEF0EFE) # Sergio Martins <sergio.martins at kdab.com>
+
+prepare() {
+  mkdir -p build
+
+  sed -e 's|man/man1|share/man/man1|g' -i $pkgname-$pkgver/CMakeLists.txt
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}


Property changes on: clazy/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list