mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -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"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE=""
|
IUSE="doc"
|
||||||
|
|
||||||
DEPEND=( sys-libs/glibc )
|
DEPEND=( sys-libs/glibc )
|
||||||
RDEPEND=(
|
RDEPEND=(
|
||||||
@@ -22,6 +22,8 @@ RDEPEND=(
|
|||||||
dev-vcs/git
|
dev-vcs/git
|
||||||
)
|
)
|
||||||
|
|
||||||
|
DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/${P}-fix-gpg-breaking-terminal.patch" )
|
PATCHES=( "${FILESDIR}/${P}-fix-gpg-breaking-terminal.patch" )
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
@@ -31,10 +33,6 @@ src_compile() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
dobin bin/lazygit
|
dobin bin/lazygit
|
||||||
|
|
||||||
local DOCS=(
|
use doc && dodoc -r "src/${EGO_PN}/docs/."
|
||||||
src/${EGO_PN}/{CONTRIBUTING,README}.md
|
|
||||||
src/${EGO_PN}/docs/*.md
|
|
||||||
src/${EGO_PN}/docs/keybindings/*.md
|
|
||||||
)
|
|
||||||
einstalldocs
|
einstalldocs
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user