net-misc/grpcurl: new package

Signed-off-by: Timur Kuprava <kupravagoodman@proton.me>
This commit is contained in:
Timur Kuprava
2025-07-07 22:51:37 +03:00
parent 401ceb3664
commit 6152e9631c
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
DIST grpcurl-1.9.3-deps.tar.xz 44867012 BLAKE2B c4ef320b21b68f7b4af23c6305535f3cad680cf4cfd38b39cc9a06b11e8244c24d2fbb585012f1c619bd05b087fef2a1c0a908d2a599c5134eac7c8831252fd9 SHA512 c6ce5e43d3d4c0f90448a78c236691014c0743b782476a14cefa7116c901ca43133159a30215f3a48b6a305a8770bce0cba5e192d428f16d1a49cff5c59850a1
DIST grpcurl-1.9.3.tar.gz 123945 BLAKE2B 03bdd055f32c0f5a869cf40be9e7e553e15c57780a0a4e94e7cf08e344698afefcc4a04cf11ee1abd12c3d434e4b1d04f1d64114e8bb8f0b65afb10e7dbd356d SHA512 bd5e9e1a9a45ba96f6d238f956de3dfddb128fc57d0754e661326a421584979f5b64ed6dd9b4e4ac2a3ada51695b60ce6c2f03fe4ca266747155db50ada02404

View File

@@ -0,0 +1,30 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Command-line tool for interacting with gRPC servers"
HOMEPAGE="https://github.com/fullstorydev/grpcurl"
SRC_URI="https://github.com/fullstorydev/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/kuprTheMan/contribute-deps/releases/download/${P}/${P}-deps.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64"
RESTRICT="test"
src_compile() {
ego build -o ${PN} -v -ldflags "-X 'main.version=${PV}'" ./cmd/...
}
src_install() {
dobin ${PN}
dodoc README.md
default
}

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>kupravagoodman@proton.me</email>
<name>Timur Kuprava</name>
</maintainer>
<upstream>
<bugs-to>https://github.com/fullstorydev/grpcurl/issues</bugs-to>
<remote-id type="github">fullstorydev/grpcurl</remote-id>
</upstream>
</pkgmetadata>