diff options
author | codl | 2017-02-18 17:40:01 +0100 |
---|---|---|
committer | codl | 2017-02-18 17:40:01 +0100 |
commit | c0c5004e2320090ea9426c7e44e56d9c66f6d885 (patch) | |
tree | 433e1a782dd81dbe327f37c4b052e8a72a2dfeb9 | |
parent | 3419ea0ac64e4eeb01c29e8a3f315344f8260c8e (diff) | |
download | aur-c0c5004e2320090ea9426c7e44e56d9c66f6d885.tar.gz |
🆙 v0.2.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 14 insertions, 12 deletions
@@ -1,7 +1,7 @@ pkgbase = wuzz pkgdesc = Interactive cli tool for HTTP inspection - pkgver = 0.1.0 - pkgrel = 2 + pkgver = 0.2.0 + pkgrel = 1 url = https://github.com/asciimoo/wuzz arch = x86_64 arch = i686 @@ -10,8 +10,8 @@ pkgbase = wuzz makedepends = git options = !strip options = !emptydirs - source = https://github.com/asciimoo/wuzz/archive/v0.1.0.tar.gz - sha256sums = 7752557fd00e8c6427de690fb3eaef1d0679657d1c34a43fb53faa733891f3ec + source = https://github.com/asciimoo/wuzz/archive/v0.2.0.tar.gz + sha256sums = 92b2ee013ef87a609bbfb388fafdb86073a1df87e200238ee00ac4ce54c02435 pkgname = wuzz @@ -1,26 +1,28 @@ # Maintainer: codl <aur@codl.fr> pkgname=wuzz -pkgver=0.1.0 -pkgrel=2 +pkgver=0.2.0 +pkgrel=1 pkgdesc="Interactive cli tool for HTTP inspection" arch=('x86_64' 'i686') url="https://github.com/asciimoo/wuzz" license=('AGPL3') makedepends=('go' 'git') options=('!strip' '!emptydirs') -source=("https://github.com/asciimoo/wuzz/archive/v0.1.0.tar.gz") -sha256sums=('7752557fd00e8c6427de690fb3eaef1d0679657d1c34a43fb53faa733891f3ec') +source=("https://github.com/asciimoo/wuzz/archive/v${pkgver}.tar.gz") +sha256sums=('92b2ee013ef87a609bbfb388fafdb86073a1df87e200238ee00ac4ce54c02435') +_goname="github.com/asciimoo/wuzz" + build() { rm -rf gopath - mkdir -p gopath/src - mv "$srcdir/$pkgname-$pkgver" gopath/src - cd "gopath/src/$pkgname-$pkgver" + mkdir -p gopath/src/${_goname} + mv "$srcdir/$pkgname-$pkgver/"* "gopath/src/${_goname}" + cd "gopath/src/${_goname}" 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" + install -D -m 755 "$srcdir/gopath/bin/$pkgname" "$pkgdir/usr/bin/$pkgname" } |