[arch-commits] Commit in clazy (3 files)
Antonio Rojas
arojas at archlinux.org
Wed Aug 22 10:48:10 UTC 2018
Date: Wednesday, August 22, 2018 @ 10:48:10
Author: arojas
Revision: 373226
archrelease: copy trunk to community-x86_64
Added:
clazy/repos/
clazy/repos/community-x86_64/
clazy/repos/community-x86_64/PKGBUILD
(from rev 373225, clazy/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: clazy/repos/community-x86_64/PKGBUILD (from rev 373225, clazy/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2018-08-22 10:48:10 UTC (rev 373226)
@@ -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
+}
More information about the arch-commits
mailing list