aboutsummaryrefslogtreecommitdiffstats
path: root/community/flawfinder/APKBUILD
blob: 3b9a77166e2f778de56e6a7e7afe161d285fc35e (plain)
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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=flawfinder
pkgver=2.0.11
pkgrel=0
pkgdesc="Examines C/C++ source code for security flaws"
url="http://www.dwheeler.com/flawfinder/"
arch="noarch"
license="GPL-2.0"
depends="python3"
makedepends="py3-setuptools"
subpackages="$pkgname-doc"
source="http://www.dwheeler.com/flawfinder/flawfinder-$pkgver.tar.gz"

check() {
	make check PYTHON=python3 PYTHON3=python3
}

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4236da49914fa6317eb2fae1b3fd7ba08aa96a34bc5245bfd15b6532049193cbd0367bb3620e32252ce71cdd1128bec4b20c0e88b02c55d0ede1bb5bb091ddeb  flawfinder-2.0.11.tar.gz"