# Maintainer: Tian Qiao pkgname=('pocsuite3') pkgver=1.9.8 pkgrel=1 pkgdesc='Open-sourced remote vulnerability testing framework' url='https://github.com/knownsec/pocsuite3' arch=('any') license=('GPL2') depends=('python-requests' 'python-pysocks' 'python-requests-toolbelt' 'python-urllib3' 'python-chardet' 'python-termcolor' 'python-colorama' 'python-prettytable' 'python-colorlog' 'python-scapy' 'python-faker' 'python-pycryptodomex') makedepends=('python-setuptools') optdepends=( 'python-pyopenssl: self-signed certificate support' ) source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('6d011621a2dcdb9c3e999b940956cc72f1ca2425d89cd47cdda1c893b4b2b8bd05bd9368a199cef3e6d9dcd4740fb9fbb2d60d71972adb60b9936a5ca8aef79f') build() { cd ${pkgname}-${pkgver} python setup.py build } package() { cd ${pkgname}-${pkgver} python setup.py install --skip-build -O1 --root="${pkgdir}" install -Dm 644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}" install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" } # vim: ts=2 sw=2 et: