commit: bfe9fc62bd0d178b57fdecadd892646ec8122563 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Tue May 19 23:05:19 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Tue May 19 23:09:22 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfe9fc62
dev-vcs/lazygit: 0.20.4 version bump Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> dev-vcs/lazygit/Manifest | 1 + dev-vcs/lazygit/lazygit-0.20.4.ebuild | 36 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest index 94a8496..7e89623 100644 --- a/dev-vcs/lazygit/Manifest +++ b/dev-vcs/lazygit/Manifest @@ -1,2 +1,3 @@ DIST lazygit-0.19.tar.gz 9193308 BLAKE2B c07141661387094651cb6137579dea8ab5231b3e08b0733124cc97f1392251db592e01d60297356c8c5df1f1db554bc8a3be86cd07beed158d33b9eabdb015d4 SHA512 6259fdb98ae74ee59f395bd79fcbe3280b679883cbc0c190e64a36464c258597e18a6b70842cb242696536cfea35ea9c83f43b05ad20ead4f5120e436875abad DIST lazygit-0.20.3.tar.gz 9195508 BLAKE2B e20d6195ace5b36d2f47deaffeb838b547d87868ae7c63a7fc0b6f753648728575060ad90e9bbd3e379b30a6f657eeaf8479669a2f0660cadfae50fa7dd7efdc SHA512 810112ee42c11e9750d68fd3c22047b1bdd79d2fa92ece2cfb959f631c143b1d412756cd4ca8fa81c81a9889d4bc7e37053fd94990ec8f4f0ea7ae9d244a6512 +DIST lazygit-0.20.4.tar.gz 9195728 BLAKE2B a662b86bfe142e8d157a1be99718b6c786771088c6417fc5667cf91dd5055f583220efef75d15ee7273b1e73f714b20e9b35cc1a74b47620d42d27f6f050dcb2 SHA512 c9924df0bbd4e22d6dbccefdd5428c92999256f31a73ffcc9603aaab66d3ad572292221b192b519929e232157cd5d297f32e0a45f96e308563f97ad936f5ed81 diff --git a/dev-vcs/lazygit/lazygit-0.20.4.ebuild b/dev-vcs/lazygit/lazygit-0.20.4.ebuild new file mode 100644 index 0000000..df46884 --- /dev/null +++ b/dev-vcs/lazygit/lazygit-0.20.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 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 +}
