# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=flawfinder pkgver=2.0.10 pkgrel=1 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 use-python3.patch " check() { make check } build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="4bf24f4b84fc17d1cecda7686259efdd4d36afc267a315be147545518ba965929f3a58d13f534aec4c1816e55cfb854ec647d09e170bb5f5eccfb4dc3469acd0 flawfinder-2.0.10.tar.gz aef3c9fc285255903e3b244bd76f99c7a7fe3c391f2d6a274ff7d1ea6dc38be82c9b537f3518c6cc600d5b3d5f60f1ed3b69aeaefc13246f9d908066273148ce use-python3.patch"