diff options
author | William Hubbs <williamh@gentoo.org> | 2023-11-02 11:22:13 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2023-11-02 11:23:55 -0500 |
commit | 3dd5def98e0294b476ea974fd20f1860c3d9f4d2 (patch) | |
tree | 420a3e1f2cd2e7e8025ee0d989a99661abab17d4 /dev-util/src-cli | |
parent | sys-kernel/gentoo-kernel-bin: Bump to 6.1.61 (diff) | |
download | gentoo-3dd5def98e0294b476ea974fd20f1860c3d9f4d2.tar.gz gentoo-3dd5def98e0294b476ea974fd20f1860c3d9f4d2.tar.bz2 gentoo-3dd5def98e0294b476ea974fd20f1860c3d9f4d2.zip |
dev-util/src-cli: add 5.1.2
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/src-cli')
-rw-r--r-- | dev-util/src-cli/Manifest | 2 | ||||
-rw-r--r-- | dev-util/src-cli/src-cli-5.1.2.ebuild | 25 |
2 files changed, 27 insertions, 0 deletions
diff --git a/dev-util/src-cli/Manifest b/dev-util/src-cli/Manifest index ca483edb30fa..35de999f1ba9 100644 --- a/dev-util/src-cli/Manifest +++ b/dev-util/src-cli/Manifest @@ -4,3 +4,5 @@ DIST src-cli-4.5.0-deps.tar.xz 153966948 BLAKE2B 2479d99e7a7dae09e1eeaf5a7202047 DIST src-cli-4.5.0.tar.gz 267190 BLAKE2B 8fe1e93f3a4d1515801b8b0e85b7054c4bcc97fbe59b7e844c5424d91bb611068238cc372e960437be20d0154fadbba56a2f99733e05939780b8f90a61c7639f SHA512 1767397549f343c1a33add05de787d8823ad12ee74096b424d7e584dca32e966a724a28c237ff8718c4ed4a14b91a0b8cd769170db1e22c4bc62e8e88a3f24bb DIST src-cli-5.0.2-deps.tar.xz 188982528 BLAKE2B 6478547fb684cb9e424f8255d15837f4f456049e407bbe5c963488cf67f08d0a16bbe1b66984d9bfc109f59aac9194208ff17f25fdffe0c2620bc1a4e3b3cdf5 SHA512 ce1f8bd5922b8532e40200a869f2dd187410f37df060dce1da6125449e40e559d2cb12ef43c65ed3751d060535ea10ba5e54ae05e187a29a78d35af9cd5b8de4 DIST src-cli-5.0.2.tar.gz 283733 BLAKE2B 0eac40c038cb74e35f5bf8244615ed8db82750ce5beef0fb815d04e790b149958c0a7ec977ed757d26bc09dfde43f087ab25f74157d716a39434b06bd0ef1f36 SHA512 51d68f58ffa62d825013b70f3eace43ff4435552634d03ccee448fa524d816ae2383539df1648f8cfefcfcaa60bc250d2e83dfc99224f4cb5dcd23ae69ac9889 +DIST src-cli-5.1.2-deps.tar.xz 190693612 BLAKE2B 1a3d94336b55f6492798583b55e49d3e0cccacf1176b045ab49dbe31667b83d28185d9608e91c42a6f58c6eac4412208b07139d5de99bc9e3d83b06946aef4a9 SHA512 b2d5d78918eff0b5066d1cf12727bfdcc7f4f9980aaf2e5d88ea5965a2d85834d36dcc5e1c52242a672d86f8c4484d3ec92fc3ce6d49e16f57106b0728260030 +DIST src-cli-5.1.2.tar.gz 334220 BLAKE2B ab934c9805023a48fa4e9eb10869b41f6d434a1922d26e4756a79da30b8c20be16114ff4a866153d645cfd3d3214869dcaa3b6a3c4ea7b2e84ddf22529a8c891 SHA512 1cf34f43b920788cfc5d6cde4cdbbc978dc1df3ebdb5050bcd609b5a5c294104de6f8cb3563b039f3c501cca511c1025d1897a768134cc9f44647a965957597e diff --git a/dev-util/src-cli/src-cli-5.1.2.ebuild b/dev-util/src-cli/src-cli-5.1.2.ebuild new file mode 100644 index 000000000000..fa13edbff873 --- /dev/null +++ b/dev-util/src-cli/src-cli-5.1.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +DESCRIPTION="command line interface for the Sourcegraph code search tool" +HOMEPAGE="https://sourcegraph.com https://docs.sourcegraph.com/cli" +SRC_URI="https://github.com/sourcegraph/src-cli/archive/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="amd64" + +src_compile() { + ego build \ + -ldflags "-X github.com/sourcegraph/src-cli/internal/version.BuildTag=${PV}" \ + ./cmd/src +} + +src_install() { + dobin src + dodoc AUTH_PROXY.md CHANGELOG.md +} |