forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See Bug 566768. Package-Manager: portage-2.2.20.1
- Loading branch information
1 parent
5e87e43
commit a91a1c1
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# Copyright 1999-2015 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
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 | ||
} |