[arch-commits] Commit in (3 files)
Antonio Rojas
arojas at archlinux.org
Thu Aug 30 16:07:57 UTC 2018
Date: Thursday, August 30, 2018 @ 16:07:57
Author: arojas
Revision: 333113
Add kdevelop clang-tidy plugin
Added:
kdevelop-clang-tidy/
kdevelop-clang-tidy/trunk/
kdevelop-clang-tidy/trunk/PKGBUILD
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Added: kdevelop-clang-tidy/trunk/PKGBUILD
===================================================================
--- kdevelop-clang-tidy/trunk/PKGBUILD (rev 0)
+++ kdevelop-clang-tidy/trunk/PKGBUILD 2018-08-30 16:07:57 UTC (rev 333113)
@@ -0,0 +1,33 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+
+pkgname=kdevelop-clang.tidy
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="Clang-tidy analyzer plugin for KDevelop"
+arch=(x86_64)
+url="http://www.kdevelop.org/"
+license=(GPL)
+depends=(kdevelop)
+makedepends=(extra-cmake-modules boost)
+source=("https://download.kde.org/stable/kdev-clang-tidy/$pkgver/src/kdev-clang-tidy-$pkgver.tar.xz"{,.sig})
+sha256sums=('171c05f33af92c1827fcf5b6d772b2856a8d495c6816652e35399d681b60ce3b'
+ 'SKIP')
+validpgpkeys=('E191FD5BE6F46870F09E82B2024E7FB43D015474') # Friedrich W. H. Kossebau <kossebau at kde.org>
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../kdev-clang-tidy-$pkgver \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list