summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f1a797b62ed04f5de4a87361e845d132a6b5486 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Kaan Gültekin <kaangultekin01[at]gmail[dot]com>

pkgname=python-autopwn-suite
_pyname=autopwn-suite
pkgver=2.1.5
pkgrel=1
pkgdesc="AutoPWN Suite is a project for scanning vulnerabilities and exploiting systems automatically."
url="https://auto.pwnspot.com"
arch=("any")
depends=("python" "python-requests" "python-rich" "python-nmap" "python-bs4" "python-distro" "nmap")
makedepends=("python-setuptools")
license=("EULA")
source=("${_pyname}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/a/${_pyname}/${_pyname}-${pkgver}.tar.gz")
sha512sums=('SKIP')

package() {
	cd "${srcdir}/${_pyname}-${pkgver}"
	sed -i "s/[0-9]\.[0-9]\.[0-9]/${pkgver}/g" autopwn_suite/autopwn.py
	python setup.py install -O1 --root="${pkgdir}"
	install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}