summaryrefslogtreecommitdiff
path: root/app-crypt/usbkey/usbkey-0.2-r1.ebuild
blob: ccb8b4e34570c13c87774c9137eedf9cf84b0806 (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
32
33
34
35
EAPI=6

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() {
	dodir /usr/bin
	exeinto /usr/bin
	doexe "${S}/usbkey"

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

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