diff options
author | Filipe Nascimento | 2020-02-26 14:57:48 -0300 |
---|---|---|
committer | Filipe Nascimento | 2020-02-26 14:57:48 -0300 |
commit | ae94ed5ac2fb97892a4d6912e33ebbe2b361da7c (patch) | |
tree | eb4a4542244bc9ed543fc3ca723b1e806704fef6 | |
download | aur-ae94ed5ac2fb97892a4d6912e33ebbe2b361da7c.tar.gz |
Initial upload: ffuf 1.0.2-1
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a67d9f9720e8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = ffuf + pkgdesc = Fast web fuzzer written in Go + pkgver = 1.0.2 + pkgrel = 1 + url = https://github.com/ffuf/ffuf + arch = i686 + arch = x86_64 + arch = armv6h + arch = armv7h + arch = aarch64 + license = MIT + makedepends = go-pie + depends = glibc + source = ffuf-1.0.2.tar.gz::https://github.com/ffuf/ffuf/archive/v1.0.2.tar.gz + sha256sums = 018e3aa92d27846eaf55b49a451b2517db1ad65d5d696116ade1fe8bda4535ba + +pkgname = ffuf + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..20baa6bb8aae --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Filipe Nascimento <flipee at tuta dot io> + +pkgname=ffuf +pkgver=1.0.2 +pkgrel=1 +pkgdesc="Fast web fuzzer written in Go" +arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64') +url="https://github.com/ffuf/ffuf" +license=('MIT') +depends=('glibc') +makedepends=('go-pie') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha256sums=('018e3aa92d27846eaf55b49a451b2517db1ad65d5d696116ade1fe8bda4535ba') + +build() { + cd "$pkgname-$pkgver" + + go build \ + -trimpath \ + -ldflags="-extldflags $LDFLAGS" \ + -o $pkgname +} + +package() { + cd $pkgname-$pkgver + install -Dm755 $pkgname -t "$pkgdir/usr/bin" + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" +} |