diff options
author | Olivier Le Moal | 2018-01-30 11:07:28 +0100 |
---|---|---|
committer | Olivier Le Moal | 2018-01-30 11:07:28 +0100 |
commit | aad6c55cda6105e92d35320f94a7a94ad397ed00 (patch) | |
tree | c2bb72cc90f83c8dcf85e0ad345cd2b7f8a1858f | |
parent | 38f4bc088c21a398ccc76983dbbc3be8f44730f5 (diff) | |
download | aur-aad6c55cda6105e92d35320f94a7a94ad397ed00.tar.gz |
use wfuzz setup.py
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -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 } |