summaryrefslogtreecommitdiff
path: root/dev-go/protobuf-go/protobuf-go-1.36.11.ebuild
blob: 803ec680885a85ab078264b9ff7f75583563d465 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2023-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=9

inherit go-module

DESCRIPTION="Go support for Google's protocol buffers"
HOMEPAGE="http://protobuf.dev"
SRC_URI="https://github.com/protocolbuffers/protobuf-go/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

src_compile() {
	ego build ./cmd/protoc-gen-go
}

src_install() {
	dobin protoc-gen-go
}