commit: c6f5c68467e21d61d94b818fc42792e0589c473e Author: Christopher Bayliss <cjbdev <AT> icloud <DOT> com> AuthorDate: Mon Jul 1 03:46:19 2024 +0000 Commit: Christopher Bayliss <cjbdev <AT> icloud <DOT> com> CommitDate: Mon Jul 1 04:00:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c6f5c684
dev-util/hut: add 0.6.0 Signed-off-by: Christopher Bayliss <cjbdev <AT> icloud.com> dev-util/hut/Manifest | 2 ++ dev-util/hut/hut-0.6.0.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-util/hut/Manifest b/dev-util/hut/Manifest index 39734cda8..4a93c61e9 100644 --- a/dev-util/hut/Manifest +++ b/dev-util/hut/Manifest @@ -1,2 +1,4 @@ DIST hut-0.5.0-vendor.tar.xz 619096 BLAKE2B de94aaa087c857365e52ff8928d61aad1e9ae05cb8601531012df58cdfd878ccf1f89ec8c7c84bed0667b6d153a5b6a30d1ee5a0b758c0fc7e557f0e7159a3c7 SHA512 06015a5fe47524790df63ec123c64c33e7f9282956db04253dccebede7050db58bd3b6cf80275a25ccaccacd57f42939ba03b063801c83019ff42348dcc99401 DIST hut-0.5.0.tar.gz 129041 BLAKE2B 7e551f337525a7e043acba6b15e260488fdc498f87cfce0ec7d473d7e6070eda5f307a4cc1a8a16b40ec040bdacb8c28a23c3be2009a4c1e052e85a6a943cf72 SHA512 f24a0bfcb96f1643d1f6c741c101f54b9a522f3fde6fcd7fc65f27bbec0303e304dc2430cafec0a17aa471ec78e37b2c65cdf401cc5034480cd82f27ed3166d3 +DIST hut-0.6.0.tar.gz 137077 BLAKE2B 7d9ba6aebb4439457026efe3e7d798c7ca483e9d02c586677053a7dfe781bb0bbc79ef923f148449348b301c8abd543407cc6e3d802fb3696a7aec104fd832c5 SHA512 288acd443023297104cef963026b0b0d54713515e22870df767e562d4c4f031cad662ad4d341a6b4888661e4550e072300cc166fa1f1504926625121d56ae7a5 +DIST hut-v0.6.0-vendor.tar.xz 638564 BLAKE2B 675e264d03a56663bcd8e6d8e7810ad802a5bd3da4f77abed218fa23b360b78baaa606b7e896d8be16961edba6065ca42859191f90c87fd7caf707c928734522 SHA512 a1ebbfc4fa06b78165d30320dc044c257eb28211ef23c7ceba6cb117fb6c4894e4b39336d226f7996603027cf9d597369a92f1afe13942cd8c135562c5dc7379 diff --git a/dev-util/hut/hut-0.6.0.ebuild b/dev-util/hut/hut-0.6.0.ebuild new file mode 100644 index 000000000..52140c49e --- /dev/null +++ b/dev-util/hut/hut-0.6.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="CLI tool for sourcehut" + +HOMEPAGE="https://sr.ht/~xenrox/hut/" + +SRC_URI=" + https://git.sr.ht/~xenrox/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/cjbayliss/hut-vendor/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.xz +" + +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="AGPL-3" +SLOT="0" + +KEYWORDS="~amd64" + +BDEPEND="app-text/scdoc" + +src_compile() { + ego build + emake doc/hut.1 completions +} + +src_install() { + dobin hut + emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" +}
