archlinux-pkgbuilds/PKGBUILD

28 lines
926 B
Text
Raw Normal View History

2015-06-21 18:16:03 +02:00
#Contributor: Olivier Le Moal <mail at olivierlemoal dot fr>
#Maintainer: Dawid Wrobel <cromo@klej.net>
#Maintainer: Sébastien Duquette <ekse.0x@gmail.com>
#Maintainer: onny <onny@project-insanity.org>
pkgname=wfuzz
2018-01-30 10:58:21 +01:00
pkgver=2.2.9
2015-06-21 18:16:03 +02:00
pkgrel=1
pkgdesc="Utility to bruteforce web applications to find their not linked resources"
url="https://github.com/xmendez/wfuzz"
arch=('i686' 'x86_64')
license=('GPL')
depends=('python2-pycurl')
makedepends=()
conflicts=()
replaces=()
backup=()
2017-08-31 12:32:46 +02:00
source=("https://github.com/xmendez/wfuzz/archive/v$pkgver.tar.gz")
2018-01-30 10:58:21 +01:00
md5sums=('136bd26bdf301e169d873d4d0e5a226c')
2015-06-21 18:16:03 +02:00
package() {
2018-01-30 10:58:21 +01:00
mkdir -p ${pkgdir}/opt/wfuzz
2015-06-21 18:16:03 +02:00
mkdir -p ${pkgdir}/usr/bin
2018-01-30 10:58:21 +01:00
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
2015-06-21 18:16:03 +02:00
}