use wfuzz setup.py
This commit is contained in:
parent
38f4bc088c
commit
aad6c55cda
1 changed files with 6 additions and 7 deletions
13
PKGBUILD
13
PKGBUILD
|
@ -5,7 +5,7 @@
|
|||
|
||||
pkgname=wfuzz
|
||||
pkgver=2.2.9
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Utility to bruteforce web applications to find their not linked resources"
|
||||
url="https://github.com/xmendez/wfuzz"
|
||||
arch=('i686' 'x86_64')
|
||||
|
@ -17,11 +17,10 @@ replaces=()
|
|||
backup=()
|
||||
source=("https://github.com/xmendez/wfuzz/archive/v$pkgver.tar.gz")
|
||||
md5sums=('136bd26bdf301e169d873d4d0e5a226c')
|
||||
sha256sums=('8e68a188ff0e19ac2675f4e15160aa855d34b585b2dc1bbfc53ad639f899e513')
|
||||
|
||||
|
||||
package() {
|
||||
mkdir -p ${pkgdir}/opt/wfuzz
|
||||
mkdir -p ${pkgdir}/usr/bin
|
||||
cp -r ${srcdir}/${pkgname}-${pkgver}/* ${pkgdir}/opt/wfuzz/
|
||||
echo -e "#!/bin/bash\n\ncd /opt/wfuzz\n/opt/wfuzz/wfuzz \$@" > ${pkgdir}/usr/bin/wfuzz
|
||||
sed -i '0,/RE/s/python/python2/' ${pkgdir}/opt/wfuzz/wfuzz
|
||||
chmod a+x ${pkgdir}/usr/bin/wfuzz
|
||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||
python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue