[arch-commits] Commit in (clazy clazy/trunk clazy/trunk/PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Wed Aug 22 10:47:44 UTC 2018
Date: Wednesday, August 22, 2018 @ 10:47:44
Author: arojas
Revision: 373225
Add clazy, qtcreator and kdevelop optdepend
Added:
clazy/
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-22 10:47:44 UTC (rev 373225)
@@ -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