mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
32 lines
896 B
Plaintext
32 lines
896 B
Plaintext
# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
pkgname=grpcui
|
|
pkgver=1.4.1
|
|
pkgrel=3
|
|
pkgdesc="Interactive web UI for gRPC, along the lines of postman"
|
|
url="https://github.com/fullstorydev/grpcui"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="go"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/fullstorydev/grpcui/archive/refs/tags/v$pkgver.tar.gz"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
go build -v -ldflags "-X main.version=v$pkgver" ./cmd/grpcui/
|
|
}
|
|
|
|
check() {
|
|
go test ./...
|
|
}
|
|
|
|
package() {
|
|
install -Dm755 grpcui -t "$pkgdir"/usr/bin/
|
|
}
|
|
|
|
sha512sums="
|
|
f7b54888480a028b728a12bb1ca7bbd744e3e29b1f41bc658eefa8e4aaf121c07aca3a98823b876cae5fd70e247e50839424f83831de895f7e1b3dca27e28588 grpcui-1.4.1.tar.gz
|
|
"
|