# Contributor: Maxim Karasev # Maintainer: Maxim Karasev pkgname=ffuf pkgver=2.0.0 pkgrel=7 pkgdesc="fast web fuzzer written in Go" url="https://github.com/ffuf/ffuf" arch="all" license="MIT" makedepends="go" subpackages="$pkgname-doc" source="$pkgname-$pkgver-2.tar.gz::https://github.com/ffuf/ffuf/archive/refs/tags/v$pkgver/ffuf-$pkgver.tar.gz" export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}" export GOTMPDIR="${GOTMPDIR:-"$srcdir"}" export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}" build() { go build -o build/ffuf } check() { go test ./... } package() { install -Dm755 build/ffuf "$pkgdir"/usr/bin/ffuf install -Dm644 ffufrc.example \ "$pkgdir"/usr/share/doc/ffuf/ffufrc.example } sha512sums=" 46f3b4ffa24b62ebba58be81e4daae34eaa13be0e216ee7591867b4cbb43e977c04da84faaac06d41a34c44a4bec087fd36c47ee28f1b4f48a9ec90d0e1fdc00 ffuf-2.0.0-2.tar.gz "