# Maintainer: Tian Qiao pkgname=('pocsuite3') pkgver=2.0.7 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' 'python-pyopenssl' 'python-jq' 'python-yaml' 'python-lxml' 'python-mmh3' 'python-dacite') makedepends=('python-setuptools') optdepends=() source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") sha512sums=('656f0cd8bbbad93e0d9cf9e4089bd203fcb57269286510cfd4138702bcc3c37d58ca4be6e92a6cec0218ef212bf8f5d723861490441bfd14bb927928a2c57c1f') 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: