projects/aports·blob master · refs

27 lines · 724 B

1# Contributor: Jonas <[email protected]>
2# Maintainer: Jonas <[email protected]>
3pkgname=grpcui
4pkgver=1.5.4
5pkgrel=0
6pkgdesc="Interactive web UI for gRPC, along the lines of postman"
7url="https://github.com/fullstorydev/grpcui"
8arch="all"
9license="MIT"
10makedepends="go"
11source="$pkgname-$pkgver.tar.gz::https://github.com/fullstorydev/grpcui/archive/refs/tags/v$pkgver.tar.gz"
12
13build() {
14 go build -v -ldflags "-X main.version=v$pkgver" ./cmd/grpcui/
15}
16
17check() {
18 go test ./...
19}
20
21package() {
22 install -Dm755 grpcui -t "$pkgdir"/usr/bin/
23}
24
25sha512sums="
26a383533281c0dc7ca7df32a95bf388ac195fcbc8f04675aa0028efcd684d8cf75e19cbd7e33fe83e4ce8f248ea5f747b766ba72d4f2c0053a6edf84bc3c3001f grpcui-1.5.4.tar.gz
27"