Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 650726
Collapse All | Expand All

(-)file_not_specified_in_diff (-5 / +25 lines)
Line  Link Here
0
-- a/rclone-1.39.ebuild
0
++ b/rclone-1.39.ebuild
Lines 3-9 Link Here
3
3
4
EAPI=6
4
EAPI=6
5
5
6
inherit golang-build
6
inherit golang-build bash-completion-r1
7
7
8
EGO_PN="github.com/ncw/${PN}"
8
EGO_PN="github.com/ncw/${PN}"
9
9
Lines 22-29 HOMEPAGE="https://rclone.org/" Link Here
22
LICENSE="MIT"
22
LICENSE="MIT"
23
SLOT="0"
23
SLOT="0"
24
24
25
IUSE="zsh-completion"
26
25
src_install() {
27
src_install() {
26
	dobin ${PN}
28
	dobin ${PN}
27
	doman src/${EGO_PN}/${PN}.1
29
	doman src/${EGO_PN}/${PN}.1
28
	dodoc src/${EGO_PN}/README.md
30
	dodoc src/${EGO_PN}/README.md
31
32
	./rclone genautocomplete bash ${PN}.bash
33
	newbashcomp ${PN}.bash ${PN}
34
35
	if use zsh-completion; then
36
		./rclone genautocomplete zsh ${PN}.zsh
37
		insinto /usr/share/zsh/site-functions
38
		newins ${PN}.zsh _${PN}
39
	fi
29
}
40
}
30
-- a/rclone-9999.ebuild
41
++ b/rclone-9999.ebuild
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=6
4
EAPI=6
5
inherit golang-build
5
inherit golang-build bash-completion-r1
6
EGO_PN="github.com/ncw/${PN}"
6
EGO_PN="github.com/ncw/${PN}"
7
7
8
if [[ ${PV} == *9999* ]]; then
8
if [[ ${PV} == *9999* ]]; then
Lines 19-25 HOMEPAGE="https://rclone.org/" Link Here
19
19
20
LICENSE="MIT"
20
LICENSE="MIT"
21
SLOT="0"
21
SLOT="0"
22
IUSE=""
22
IUSE="zsh-completion"
23
23
24
DEPEND=""
24
DEPEND=""
25
RDEPEND="${DEPEND}"
25
RDEPEND="${DEPEND}"
Lines 28-31 src_install() { Link Here
28
	dobin ${PN}
28
	dobin ${PN}
29
	doman src/${EGO_PN}/${PN}.1
29
	doman src/${EGO_PN}/${PN}.1
30
	dodoc src/${EGO_PN}/README.md
30
	dodoc src/${EGO_PN}/README.md
31
32
	./rclone genautocomplete bash ${PN}.bash
33
	newbashcomp ${PN}.bash ${PN}
34
35
	if use zsh-completion; then
36
		./rclone genautocomplete zsh ${PN}.zsh
37
		insinto /usr/share/zsh/site-functions
38
		newins ${PN}.zsh _${PN}
39
	fi
31
}
40
}

Return to bug 650726