blob: 33ebb7ca56daac3ba896b929e974f6de8d009ce5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: André Klitzing <aklitzing@gmail.com>
# Contributor: André Klitzing <aklitzing@gmail.com>
pkgname=clazy
pkgver=1.9
pkgrel=1
pkgdesc="Qt oriented code checker based on clang framework"
url="https://github.com/KDE/clazy"
arch="all"
license="LGPL-2.0-only"
makedepends="llvm-dev clang-dev cmake"
options="!check" # cannot run tests without installation
subpackages="$pkgname-doc"
source="https://download.kde.org/stable/clazy/$pkgver/src/clazy-$pkgver.tar.xz"
build() {
cmake -B build .\
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install "build"
}
sha512sums="2e8bec44a027366263de23c50d14192e310fd38fa2b369afb21413da9cb78da9882b2153daf1784c4c9076cc62e2867b5211c75ff9a1eabcb583e405f20f5912 clazy-1.9.tar.xz"
|