mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 20:46:39 +02:00
31 lines
896 B
Text
31 lines
896 B
Text
# Contributor: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
# Maintainer: Jonas <3426-spameier@users.gitlab.alpinelinux.org>
|
|
pkgname=grpcui
|
|
pkgver=1.4.3
|
|
pkgrel=2
|
|
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="
|
|
78d39531986dcceddd7df49f8a9e468e4f030276d13efb084f49666783a077448b74b4209b4b34cad11e4e37afddc8e00dbcf5ae548d71f9240526a161355f02 grpcui-1.4.3.tar.gz
|
|
"
|