summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/gopass/gopass-9999.ebuild')
-rw-r--r--app-admin/gopass/gopass-9999.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-admin/gopass/gopass-9999.ebuild b/app-admin/gopass/gopass-9999.ebuild
index 014f262..47b0643 100644
--- a/app-admin/gopass/gopass-9999.ebuild
+++ b/app-admin/gopass/gopass-9999.ebuild
@@ -21,13 +21,14 @@ DESCRIPTION="The team password manager. Written in Go."
HOMEPAGE="https://www.justwatch.com/gopass"
LICENSE="MIT"
SLOT="0"
-IUSE="X zsh-completion test"
+IUSE="X zsh-completion test symlink"
DEPEND=">=dev-lang/go-1.6:="
RDEPEND="
app-crypt/gnupg
X? ( x11-misc/xclip )
zsh-completion? ( app-shells/gentoo-zsh-completions )
dev-vcs/git
+ symlink? ( !app-admin/pass )
"
src_compile() {
@@ -46,5 +47,9 @@ src_install() {
emake bash.completion || die
newbashcomp bash.completion ${PN}
einstalldocs
+
+ if use symlink ; then
+ dosym gopass /usr/bin/pass
+ fi
}