From 1199c18b53988754cce53cb1aa27757a63b301eb Mon Sep 17 00:00:00 2001 From: Fabio Coatti Date: Sat, 22 Jul 2023 13:15:56 +0200 Subject: [PATCH] README.md: Add Gentoo installation documentation --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 9b01dc91f..3afbedb3f 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ If you're a mere mortal like me and you're tired of hearing how powerful git is - [Solus Linux](#solus-linux) - [Ubuntu](#ubuntu) - [Funtoo Linux](#funtoo-linux) + - [Gentoo Linux](#gentoo-linux) - [FreeBSD](#freebsd) - [Conda](#conda) - [Go](#go) @@ -172,6 +173,30 @@ Funtoo Linux has an autogenerated lazygit package in [dev-kit](https://github.co ```sh sudo emerge dev-vcs/lazygit ``` +### Gentoo Linux + +Lazygit is not (yet) in main Gentoo portage, however an ebuild is available in [cova overlay](https://github.com/cova-fe/cova-overlay/tree/main/dev-vcs/lazygit) + +You can either add the overlay to your system and install lazygit as usual: + +```sh +sudo eselect repository enable cova +sudo emaint sync -r cova +sudo emerge dev-vcs/lazygit +``` + +Or you can download the ebuild and install it manually; please consider the example below just as a suggestion to be adapted to your system. + +```sh +su +LAZYGIT_VERSION="0.39.3" # Replace with the version you want from cova-overlay +cd /usr/overlay/dev-vcs/ # Replace your overlay path +mkdir lazygit +cd lazygit +curl -O https://raw.githubusercontent.com/cova-fe/cova-overlay/main/dev-vcs/lazygit/lazygit-${LAZYGIT_VERSION}.ebuild +ebuild lazygit-${LAZYGIT_VERSION}.ebuild manifest +emerge lazygit +``` ### FreeBSD