aboutsummaryrefslogtreecommitdiffstats
path: root/testing/flawfinder/APKBUILD
blob: 69ecf74b279d206a895e2833ba7fcf60092f91c1 (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.4
pkgrel=0
pkgdesc="Examines C/C++ source code for security flaws"
url="http://www.dwheeler.com/flawfinder/"
arch="noarch"
license="GPL-2.0"
depends="python2"
makedepends="python2-dev py-setuptools"
subpackages="$pkgname-doc"
source="http://www.dwheeler.com/flawfinder/$pkgname-$pkgver.tar.gz"

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

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

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

sha512sums="32a68b840e8de8b0181793834b45aafe2dc71581a4f3ad34c9f564c5267fa36c5ecbd00193a2819187a30ec868b4ff7f3d0a117b34d0743e8808d513df942b66  flawfinder-2.0.4.tar.gz"