summaryrefslogtreecommitdiffstats
path: root/app-admin/password-store/password-store-9999.ebuild
blob: 0f8e32cc36e8efdea4b25e76fef726bb04753811 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2012 Jason A. Donenfeld <Jason@zx2c4.com>

EAPI=4

inherit bash-completion-r1 git-2

DESCRIPTION="Stores, retrieves, generates, and synchronizes passwords securely using gpg, pwgen, and git."
HOMEPAGE="http://www.zx2c4.com"
SRC_URI=""
EGIT_REPO_URI="http://git.zx2c4.com/password-store"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="X +git"

RDEPEND="app-crypt/gnupg
		 app-admin/pwgen
		 git? ( dev-vcs/git )
		 X? ( x11-misc/xclip )
"

src_compile() {
	mv src/password-store.sh src/pass
}

src_install() {
    dobin src/pass
	doman man/pass.1
	dodoc README
	newbashcomp bash-completion/pass-bash-completion.sh ${PN}
}