summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGamehunterKaan2022-08-15 18:24:51 +0300
committerGamehunterKaan2022-08-15 18:24:51 +0300
commit36b0134c915e7de7401c9d103113178fea67795e (patch)
treeb8aebb651eca9603bae4188a2645ebae4bdc7f48
parent1b4224339f7ac6d8a1cb3a929c60fb2bfc50a0c5 (diff)
downloadaur-36b0134c915e7de7401c9d103113178fea67795e.tar.gz
Automatically change version inside autopwn.py to $pkgver to prevent outdated warning from appearing.
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fb2e94aaffe0..f739c344e9f5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-autopwn-suite
pkgdesc = AutoPWN Suite is a project for scanning vulnerabilities and exploiting systems automatically.
pkgver = 2.1.2
- pkgrel = 1
+ pkgrel = 2
url = https://auto.pwnspot.com
arch = any
license = EULA
diff --git a/PKGBUILD b/PKGBUILD
index af175bc0c0ac..f44acd79e57b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=python-autopwn-suite
_pyname=autopwn-suite
pkgver=2.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="AutoPWN Suite is a project for scanning vulnerabilities and exploiting systems automatically."
url="https://auto.pwnspot.com"
arch=("any")
@@ -17,5 +17,5 @@ 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/licenses/${pkgname}/README"
+ install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README"
}