Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 509914
Collapse All | Expand All

(-)pass-1.6.1-r1.ebuild (-3 / +16 lines)
Lines 4-10 Link Here
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit bash-completion-r1
7
inherit bash-completion-r1 elisp-common
8
8
9
DESCRIPTION="Stores, retrieves, generates, and synchronizes passwords securely using gpg, pwgen, and git"
9
DESCRIPTION="Stores, retrieves, generates, and synchronizes passwords securely using gpg, pwgen, and git"
10
HOMEPAGE="http://zx2c4.com/projects/password-store/"
10
HOMEPAGE="http://zx2c4.com/projects/password-store/"
Lines 13-19 Link Here
13
SLOT="0"
13
SLOT="0"
14
LICENSE="GPL-2"
14
LICENSE="GPL-2"
15
KEYWORDS="~amd64 ~x86 ~x86-macos"
15
KEYWORDS="~amd64 ~x86 ~x86-macos"
16
IUSE="+git X zsh-completion fish-completion dmenu elibc_Darwin"
16
IUSE="+git X zsh-completion fish-completion emacs dmenu elibc_Darwin"
17
17
18
RDEPEND="
18
RDEPEND="
19
	app-crypt/gnupg
19
	app-crypt/gnupg
Lines 25-30 Link Here
25
	zsh-completion? ( app-shells/zsh-completion )
25
	zsh-completion? ( app-shells/zsh-completion )
26
	fish-completion? ( app-shells/fish )
26
	fish-completion? ( app-shells/fish )
27
	dmenu? ( x11-misc/dmenu )
27
	dmenu? ( x11-misc/dmenu )
28
	emacs? ( virtual/emacs )
28
"
29
"
29
30
30
S="${WORKDIR}/password-store-${PV}"
31
S="${WORKDIR}/password-store-${PV}"
Lines 40-46 Link Here
40
}
41
}
41
42
42
src_compile() {
43
src_compile() {
43
	:;
44
	use emacs && elisp-compile contrib/emacs/*.el
44
}
45
}
45
46
46
src_install() {
47
src_install() {
Lines 49-52 Link Here
49
	default
50
	default
50
	use dmenu && dobin contrib/dmenu/passmenu
51
	use dmenu && dobin contrib/dmenu/passmenu
51
	newbashcomp src/completion/pass.bash-completion pass
52
	newbashcomp src/completion/pass.bash-completion pass
53
	if use emacs; then
54
		elisp-install ${PN} contrib/emacs/*.el contrib/emacs/*.elc || die
55
		elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die
56
	fi
57
}
58
59
pkg_postinst() {
60
	use emacs && elisp-site-regen
61
}
62
63
pkg_postrm() {
64
	use emacs && elisp-site-regen
52
}
65
}
(-)pass-9999.ebuild (-3 / +16 lines)
Lines 4-10 Link Here
4
4
5
EAPI=4
5
EAPI=4
6
6
7
inherit bash-completion-r1 git-2
7
inherit bash-completion-r1 git-2 elisp-common
8
8
9
DESCRIPTION="Stores, retrieves, generates, and synchronizes passwords securely using gpg, pwgen, and git"
9
DESCRIPTION="Stores, retrieves, generates, and synchronizes passwords securely using gpg, pwgen, and git"
10
HOMEPAGE="http://zx2c4.com/projects/password-store/"
10
HOMEPAGE="http://zx2c4.com/projects/password-store/"
Lines 13-19 Link Here
13
SLOT="0"
13
SLOT="0"
14
LICENSE="GPL-2"
14
LICENSE="GPL-2"
15
KEYWORDS=""
15
KEYWORDS=""
16
IUSE="+git X zsh-completion fish-completion dmenu elibc_Darwin"
16
IUSE="+git X zsh-completion fish-completion emacs dmenu elibc_Darwin"
17
17
18
RDEPEND="
18
RDEPEND="
19
	app-crypt/gnupg
19
	app-crypt/gnupg
Lines 25-30 Link Here
25
	zsh-completion? ( app-shells/zsh-completion )
25
	zsh-completion? ( app-shells/zsh-completion )
26
	fish-completion? ( app-shells/fish )
26
	fish-completion? ( app-shells/fish )
27
	dmenu? ( x11-misc/dmenu )
27
	dmenu? ( x11-misc/dmenu )
28
	emacs? ( virtual/emacs )
28
"
29
"
29
30
30
S="${WORKDIR}/password-store-${PV}"
31
S="${WORKDIR}/password-store-${PV}"
Lines 40-46 Link Here
40
}
41
}
41
42
42
src_compile() {
43
src_compile() {
43
	:;
44
	use emacs && elisp-compile contrib/emacs/*.el
44
}
45
}
45
46
46
src_install() {
47
src_install() {
Lines 49-52 Link Here
49
	default
50
	default
50
	use dmenu && dobin contrib/dmenu/passmenu
51
	use dmenu && dobin contrib/dmenu/passmenu
51
	newbashcomp src/completion/pass.bash-completion pass
52
	newbashcomp src/completion/pass.bash-completion pass
53
	if use emacs; then
54
		elisp-install ${PN} contrib/emacs/*.el contrib/emacs/*.elc || die
55
		elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" || die
56
	fi
57
}
58
59
pkg_postinst() {
60
	use emacs && elisp-site-regen
61
}
62
63
pkg_postrm() {
64
	use emacs && elisp-site-regen
52
}
65
}

Return to bug 509914