commit: 750b18e0c7c63452f921befcc2697e5baf6358b8 Author: ingenarel <ingenarelitems <AT> gmail <DOT> com> AuthorDate: Tue May 20 22:30:23 2025 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Tue May 20 22:30:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=750b18e0
dev-vcs/lazygit: add 9999 Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com> dev-vcs/lazygit/lazygit-9999.ebuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/dev-vcs/lazygit/lazygit-9999.ebuild b/dev-vcs/lazygit/lazygit-9999.ebuild new file mode 100644 index 000000000..a969fcf5d --- /dev/null +++ b/dev-vcs/lazygit/lazygit-9999.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module git-r3 + +DESCRIPTION="Simple terminal UI for git commands" +HOMEPAGE="https://github.com/jesseduffield/lazygit" +EGIT_REPO_URI="https://github.com/jesseduffield/lazygit.git" + +LICENSE="Apache-2.0 BSD ISC MIT Unlicense" +SLOT="0" + +RDEPEND="dev-vcs/git" + +DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs ) + +src_unpack() { + git-r3_src_unpack +} + +src_compile() { + ego build -o bin/lazygit -ldflags "-X main.version=${PV}" +} + +src_test() { + ego test ./... -short +} + +src_install() { + dobin bin/lazygit + einstalldocs +}
