mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-vcs/lazygit: move DOCS to global, add USE="doc" for additional docs
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.ta
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=( sys-libs/glibc )
|
||||
RDEPEND=(
|
||||
@@ -22,6 +22,8 @@ RDEPEND=(
|
||||
dev-vcs/git
|
||||
)
|
||||
|
||||
DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-fix-gpg-breaking-terminal.patch" )
|
||||
|
||||
src_compile() {
|
||||
@@ -31,10 +33,6 @@ src_compile() {
|
||||
src_install() {
|
||||
dobin bin/lazygit
|
||||
|
||||
local DOCS=(
|
||||
src/${EGO_PN}/{CONTRIBUTING,README}.md
|
||||
src/${EGO_PN}/docs/*.md
|
||||
src/${EGO_PN}/docs/keybindings/*.md
|
||||
)
|
||||
use doc && dodoc -r "src/${EGO_PN}/docs/."
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user