Skip to content

Commit

Permalink
dev-util/radare2: synch completion handling to live ebuild
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.31, Repoman-2.3.9
  • Loading branch information
Sergei Trofimovich committed Apr 28, 2018
1 parent a90bf7f commit 7386700
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions dev-util/radare2/radare2-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit eutils
inherit eutils bash-completion-r1

DESCRIPTION="unix-like reverse engineering framework and commandline tools"
HOMEPAGE="http://www.radare.org"
Expand All @@ -19,7 +19,7 @@ fi

LICENSE="GPL-2"
SLOT="0"
IUSE="ssl libressl +system-capstone zsh-completion"
IUSE="ssl libressl +system-capstone"

RDEPEND="
ssl? (
Expand All @@ -41,10 +41,11 @@ src_configure() {
src_install() {
default

if use zsh-completion; then
insinto /usr/share/zsh/site-functions
doins doc/zsh/_*
fi
insinto /usr/share/zsh/site-functions
doins doc/zsh/_*

newbashcomp doc/bash_autocompletion.sh "${PN}"
bashcomp_alias "${PN}" rafind2 r2 rabin2 rasm2 radiff2

# a workaround for unstable $(INSTALL) call, bug #574866
local d
Expand Down

0 comments on commit 7386700

Please sign in to comment.