Files
gentoo-zh/dev-vcs/lazygit/lazygit-0.35.ebuild
T

33 lines
598 B
Bash

# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="lazygit, a simple terminal UI for git commands"
HOMEPAGE="https://github.com/jesseduffield/lazygit"
SRC_URI="https://github.com/jesseduffield/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
CONFLICTS="!dev-vcs/lazygit-bin"
RDEPEND="
${CONFLICTS}
dev-vcs/git
"
DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs )
src_compile(){
ego build -o bin/lazygit
}
src_install(){
dobin bin/lazygit
default
}