blob: 654af57f2c6393b1ddc72a6f83692ebe106ffcf0 (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-crypt/keybase/keybase-0.8.10.ebuild,v 1.1 2015/07/19 04:38:58 nicolasbock Exp $
EAPI=5
inherit eutils
DESCRIPTION="Client for keybase.io"
HOMEPAGE="https://keybase.io/"
SRC_URI="https://github.com/keybase/node-client/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="
net-libs/nodejs
app-crypt/gnupg"
src_unpack() {
unpack "${P}.tar.gz"
mv "node-client-${PV}" "${P}"
}
src_install() {
dodoc CHANGELOG.md README.md SIGNED.md
insinto "/opt/${PN}"
doins -r package.json bin certs json lib node_modules sql
dosym "${D}/opt/${PN}/bin/main.js" "${ROOT}/usr/bin/keybase"
chmod 0755 "${D}/opt/${PN}/bin/main.js" || die
}
|