Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/rkt/
Date: Sat, 01 Oct 2016 23:54:23
Message-Id: 1475366040.85c21c5a864d61a8f9fe8b4be77eb1a32eb5e78c.zmedico@gentoo
1 commit: 85c21c5a864d61a8f9fe8b4be77eb1a32eb5e78c
2 Author: Kai-Chieh Ku <kjackie <AT> gmail <DOT> com>
3 AuthorDate: Fri Sep 30 06:13:17 2016 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 23:54:00 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c21c5a
7
8 app-emulation/rkt: install bash-completion
9
10 Package-Manager: portage-2.3.0
11
12 app-emulation/rkt/rkt-1.15.0.ebuild | 5 ++++-
13 1 file changed, 4 insertions(+), 1 deletion(-)
14
15 diff --git a/app-emulation/rkt/rkt-1.15.0.ebuild b/app-emulation/rkt/rkt-1.15.0.ebuild
16 index 268d8080..62861b0 100644
17 --- a/app-emulation/rkt/rkt-1.15.0.ebuild
18 +++ b/app-emulation/rkt/rkt-1.15.0.ebuild
19 @@ -4,7 +4,7 @@
20
21 EAPI=6
22
23 -inherit autotools flag-o-matic systemd toolchain-funcs user
24 +inherit bash-completion-r1 autotools flag-o-matic systemd toolchain-funcs user
25
26 KEYWORDS="~amd64"
27
28 @@ -197,6 +197,7 @@ src_compile() {
29 amd64) arch=x86_64;;
30 esac
31 ARCH=${arch} emake
32 + ARCH=${arch} emake bash-completion
33 }
34
35 src_install() {
36 @@ -230,6 +231,8 @@ src_install() {
37 systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.service
38 systemd_dounit "${S}"/dist/init/systemd/${PN}-metadata.socket
39
40 + newbashcomp "${S}"/dist/bash_completion/rkt.bash rkt
41 +
42 keepdir /etc/${PN}
43 fowners :rkt-admin /etc/${PN}
44 fperms 2775 /etc/${PN}