aboutsummaryrefslogtreecommitdiffstats
path: root/community/clazy/APKBUILD
blob: 78f3ec21ceaa2f93839edf7a320a0a12f64ba2b6 (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.8
pkgrel=0
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 "$srcdir/build"
}

sha512sums="c43a393721a5235ddcd653f9c322e0a215f86add3b1ce42f849677c108cd21209693c6e8f225171db88032c75596722109ee01bc53db4af90fe7652f27c1eba5  clazy-1.8.tar.xz"