summaryrefslogtreecommitdiff
path: root/app-crypt/usbkey/usbkey-0.4.1-r1.ebuild
blob: 20ac8ad9c9e45bb0a5b37efb2cf1cc937db8d667 (plain)
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
EAPI=7

VER="${PV%-r*}"

DESCRIPTION="Maintain keys on USB drive"
HOMEPAGE="http://git.cynerd.cz/usbkey/"
SRC_URI="http://git.cynerd.cz/usbkey/snapshot/usbkey-${VER}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/usbkey-${VER}"

LICENSE="GPL-3.0+"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="
sys-fs/cryptsetup
net-misc/rsync
net-misc/openssh
dev-libs/openssl
"
RDEPEND="${DEPEND}"

src_install() {
	dobin "${S}/usbkey"

	insinto /usr/share/bash-completion/completions
	newins "${S}/bash_completions" usbkey

	insinto /usr/share/zsh/site-functions
	newins "${S}/zsh_completions" _usbkey
}