1 |
commit: 7386700e147b1a3243661701813726832438f040 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 28 10:03:14 2018 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 28 10:03:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7386700e |
7 |
|
8 |
dev-util/radare2: synch completion handling to live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
dev-util/radare2/radare2-9999.ebuild | 15 ++++++++------- |
13 |
1 file changed, 8 insertions(+), 7 deletions(-) |
14 |
|
15 |
diff --git a/dev-util/radare2/radare2-9999.ebuild b/dev-util/radare2/radare2-9999.ebuild |
16 |
index e7a0aae0342..89e71ebcc42 100644 |
17 |
--- a/dev-util/radare2/radare2-9999.ebuild |
18 |
+++ b/dev-util/radare2/radare2-9999.ebuild |
19 |
@@ -1,9 +1,9 @@ |
20 |
-# Copyright 1999-2017 Gentoo Foundation |
21 |
+# Copyright 1999-2018 Gentoo Foundation |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=6 |
25 |
|
26 |
-inherit eutils |
27 |
+inherit eutils bash-completion-r1 |
28 |
|
29 |
DESCRIPTION="unix-like reverse engineering framework and commandline tools" |
30 |
HOMEPAGE="http://www.radare.org" |
31 |
@@ -19,7 +19,7 @@ fi |
32 |
|
33 |
LICENSE="GPL-2" |
34 |
SLOT="0" |
35 |
-IUSE="ssl libressl +system-capstone zsh-completion" |
36 |
+IUSE="ssl libressl +system-capstone" |
37 |
|
38 |
RDEPEND=" |
39 |
ssl? ( |
40 |
@@ -41,10 +41,11 @@ src_configure() { |
41 |
src_install() { |
42 |
default |
43 |
|
44 |
- if use zsh-completion; then |
45 |
- insinto /usr/share/zsh/site-functions |
46 |
- doins doc/zsh/_* |
47 |
- fi |
48 |
+ insinto /usr/share/zsh/site-functions |
49 |
+ doins doc/zsh/_* |
50 |
+ |
51 |
+ newbashcomp doc/bash_autocompletion.sh "${PN}" |
52 |
+ bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2 |
53 |
|
54 |
# a workaround for unstable $(INSTALL) call, bug #574866 |
55 |
local d |