blob: 6c26b341278c36433b05e858c5cc3cf23e8debbd (
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
28
29
30
31
|
# Maintainer: Tian Qiao <abcnsxyz@gmail.com>
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:
|