aboutsummaryrefslogtreecommitdiffstats
path: root/community/flawfinder/APKBUILD
blob: 75a1b1f28d6e56e774d38e77ee5f5534ab9cf291 (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
28
29
30
31
32
33
34
35
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=flawfinder
pkgver=2.0.7
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="python3-dev py3-setuptools"
subpackages="$pkgname-doc"
source="http://www.dwheeler.com/flawfinder/$pkgname-$pkgver.tar.gz
	use-python3.patch
	"

builddir="$srcdir"/$pkgname-$pkgver

check() {
	cd "$builddir"
	make check
}

build() {
	cd "$builddir"
	python3 setup.py build
}

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

sha512sums="ecfe98c58e253b1d90b833747d69c41597ab7b4c82286e5f45dff45de90056216c25d2c9626540aebfc1e475882a04c3cfa3c0cb3ee242f498f5cdfe188d761f  flawfinder-2.0.7.tar.gz
aef3c9fc285255903e3b244bd76f99c7a7fe3c391f2d6a274ff7d1ea6dc38be82c9b537f3518c6cc600d5b3d5f60f1ed3b69aeaefc13246f9d908066273148ce  use-python3.patch"