aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wuzz/APKBUILD
blob: 02a7a22d5273fee8ad807dac5ec92c7e94be63ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Adam Jensen <acjensen@gmail.com>
# Maintainer: Adam Jensen <acjensen@gmail.com>
pkgname=wuzz
pkgver=0.5.0
pkgrel=0
pkgdesc="Interactive CLI tool for HTTP inspection"
url="https://github.com/asciimoo/wuzz"
arch="all"
license="AGPL-3.0-only"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/asciimoo/wuzz/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"

prepare() {
	mkdir -p ${builddir%/*}
	mv "$srcdir"/$pkgname-$pkgver "$builddir"/
	default_prepare
}

build() {
	go build
}

check() {
	go test
}

package() {
	install -Dm755 "$builddir/$pkgname" -t "$pkgdir"/usr/bin/
}

sha512sums="dbed0076d15e87e4b13d817fc02cf853a4c1fa96b6c3647507a86e47a26619f40120b72c8df8a4b6afd2472e552998d5fad292efa0d62ce9d63149e4379d7715  wuzz-0.5.0.tar.gz"