commit:     d5be54af21ec729531a2fd9d964640056199aea1
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Sun Feb 20 19:19:32 2022 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Sun Feb 20 19:19:32 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5be54af

dev-vcs/lazygit: 0.33 version bump

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-vcs/lazygit/Manifest            |  1 +
 dev-vcs/lazygit/lazygit-0.33.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest
index cc3bd3b1e..ab15986ab 100644
--- a/dev-vcs/lazygit/Manifest
+++ b/dev-vcs/lazygit/Manifest
@@ -1,2 +1,3 @@
 DIST lazygit-0.31.3.tar.gz 3541696 BLAKE2B 
ba4131162f8aa187f9c1de9c301e47520d410320e36d56dcc3ed41d2432950a6b0e5b4482872c1400e8cec548a4454fdf5feebf442742df4debee37dd3e855f2
 SHA512 
045d09ea105d4f5493e93a0ca4472e1a35fafff0a98a5294d12f0cb1c94b6d9918746d4c2cc2f047af2e9b162fdfa3e00fc94bde45e70bcdf182eeef3db80d12
 DIST lazygit-0.31.4.tar.gz 3540918 BLAKE2B 
58f07b6f4c6fafe787c6e5dcd9e0bf4fa4133be34f893b5c1429021c8308953e0486442e563e99f19be4c51aa2c100067de6b7bf244fd0f932cd54e9d56a06d7
 SHA512 
2fb4f312ca4c4803f49cebf2487203e73f8d6b2c58f0ca477ff7857a5fc91f422c5942b7ab7b7e820cd95a205f270ba4d09075a1395dc4cf23531151fdb623e2
+DIST lazygit-0.33.tar.gz 3729628 BLAKE2B 
1cd9a081e5c0b5bd1248404771ed0d2617ef07ce1257a14ebaa13eab785d70ead908d3151fa6019fbc5149d24f7d69a351e7137c2c3878e38cd0630751197e9d
 SHA512 
e878ef0eb64a8d3fb536767f33787dbf06fd27deb2a292e9658f1c97073b5c30d95f3390215bf973e90acc136bcddb839024fddcd4bf25e6dab5f2762a2db379

diff --git a/dev-vcs/lazygit/lazygit-0.33.ebuild 
b/dev-vcs/lazygit/lazygit-0.33.ebuild
new file mode 100644
index 000000000..7e93aa089
--- /dev/null
+++ b/dev-vcs/lazygit/lazygit-0.33.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGO_PN="github.com/jesseduffield/lazygit"
+
+inherit golang-build golang-vcs-snapshot
+
+DESCRIPTION="Lazygit, a simple terminal UI for git commands"
+HOMEPAGE="https://github.com/jesseduffield/lazygit";
+SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND=( sys-libs/glibc )
+RDEPEND=(
+       ${DEPEND}
+       dev-vcs/git
+)
+
+DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
+
+src_compile() {
+       GOPATH="${S}" go build -v -o bin/lazygit src/${EGO_PN}/main.go || die
+}
+
+src_install() {
+       dobin bin/lazygit
+
+       use doc && dodoc -r "src/${EGO_PN}/docs/."
+       einstalldocs
+}

Reply via email to