# Maintainer: Tian Qiao pkgname=('pocsuite3') pkgver=1.9.9 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=('f9677864feafe9c7394c7d916486e923cd20ac955ea1bc72624a9fe0d72f12809cef6b870e6f2d7b8a45ca6bf5197a959ba252ac51cbf0506e0e5f84700b2979') 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: