diff options
author | codl | 2017-02-11 18:05:16 +0100 |
---|---|---|
committer | codl | 2017-02-11 18:05:16 +0100 |
commit | 817bcddde6f4fe941063c22697ac5d4921a0f01a (patch) | |
tree | 1d8a9013c2cf3c8428a57f853940eb400e01b483 | |
download | aur-817bcddde6f4fe941063c22697ac5d4921a0f01a.tar.gz |
initial commit, v0.1.0
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7b28323d1ffa --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = wuzz + pkgdesc = Interactive cli tool for HTTP inspection + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/asciimoo/wuzz + arch = x86_64 + arch = i686 + license = AGPL3 + makedepends = go + options = !strip + options = !emptydirs + source = https://github.com/asciimoo/wuzz/archive/v0.1.0.tar.gz + sha256sums = 7752557fd00e8c6427de690fb3eaef1d0679657d1c34a43fb53faa733891f3ec + +pkgname = wuzz + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..04341347992e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: codl <aur@codl.fr> + +pkgname=wuzz +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Interactive cli tool for HTTP inspection" +arch=('x86_64' 'i686') +url="https://github.com/asciimoo/wuzz" +license=('AGPL3') +makedepends=('go') +options=('!strip' '!emptydirs') +source=("https://github.com/asciimoo/wuzz/archive/v0.1.0.tar.gz") +sha256sums=('7752557fd00e8c6427de690fb3eaef1d0679657d1c34a43fb53faa733891f3ec') + +build() { + rm -rf gopath + mkdir -p gopath/src + mv "$srcdir/$pkgname-$pkgver" gopath/src + cd "gopath/src/$pkgname-$pkgver" + env GOPATH="$srcdir/gopath" go get -v +} + +package() { + mkdir -p "$pkgdir/usr/bin" + install -D -m 755 "$srcdir/gopath/bin/$pkgname-$pkgver" "$pkgdir/usr/bin/$pkgname" +} |