summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/keybase')
-rw-r--r--app-crypt/keybase/Manifest1
-rw-r--r--app-crypt/keybase/keybase-1.0.21.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/app-crypt/keybase/Manifest b/app-crypt/keybase/Manifest
index 19d600af893d..3bdf310ce7a5 100644
--- a/app-crypt/keybase/Manifest
+++ b/app-crypt/keybase/Manifest
@@ -4,3 +4,4 @@ DIST keybase-1.0.16.tar.gz 41810206 SHA256 e8a7ecb56153c1068432ee7d13b8619870662
DIST keybase-1.0.17.tar.gz 33200376 SHA256 937b4bc61c889ef3982a5352d8a49cda8a4f4db28732d4cb21df1fe20128399c SHA512 56334779ab7c11a947557af7d22c662d862804104fff7c853776b0bb28116ae4b789abecd6b75d07a440fae0fc3af4438b85fbd271eb1310c8bf77ce1017e145 WHIRLPOOL f2d44ac207796b1d514e8bb87aced0ba0cd82f64fde87b910f603926364f70d7fdea79b23e1dc2c29efc0278f5c2eb80a53b3efac2d157008eb327a38622566c
DIST keybase-1.0.18.tar.gz 19860878 SHA256 8a4ebcb3ce8e3ed3649be870ab407fafeaeaed23c399f18dc25cba50fbb7f5a6 SHA512 3b8938839421da0fca2958c576e5987abeaf178c01ad979fe0b88d55bc5e93180951747dbe59bec26597c1ce41075e80a76af5a3666e7c248b640ad6b1052ddc WHIRLPOOL c48d3417833a6f9bd835d85cd4116923bb35268182983181297e4811c4f76bf730713dfeb3d61dd89ae280b2e318e8fb34ae54f5dc515a96350f0cda12c9388c
DIST keybase-1.0.20.tar.gz 21506558 SHA256 792545bd527ccc815f2edf8efebddefcd55417c25f6ef16b85e95e9d79227023 SHA512 dcb727b701d0178c94232e3746fd0de6f13121c10d8c6be714f082d382881d727e0b751e0deea184a4ee2bedcfe56b7ba72e60cab5671f2388d5d9f7f53ca05f WHIRLPOOL a91f657ffe4ed98fd4d76c77bd5cfc5263d5d2b1d228ed485ba02eabd5a395811a35152ac718919f2c82f7b128ace708adfcf6d2388bb5427ce49d4dc3c54e46
+DIST keybase-1.0.21.tar.gz 21127410 SHA256 a9bbaf16cb7b7cc3614ca5e76e0fb1b3bd164f38e14b9d49d4ca351941c8c0a3 SHA512 60801ece5dc0df9f0da58143baf00729e1a79183d2b8209c405749f422dd8cecf7f4059e0799c88ca6e3f1e5a7ad8bd6805dd2401b0945954c6b1465c04974b5 WHIRLPOOL 796d5e89f87575cfc621c714c304b0a502773511f5d43d178c0f4484e3386df6975f665b723ceb0f834fc5d4be0c5c288324a15e5d0d9b2633fb984e3f8cf183
diff --git a/app-crypt/keybase/keybase-1.0.21.ebuild b/app-crypt/keybase/keybase-1.0.21.ebuild
new file mode 100644
index 000000000000..92df05b55e79
--- /dev/null
+++ b/app-crypt/keybase/keybase-1.0.21.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils versionator
+
+MY_PV=$(replace_version_separator 3 '-')
+
+DESCRIPTION="Client for keybase.io"
+HOMEPAGE="https://keybase.io/"
+SRC_URI="https://github.com/keybase/client/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/go-1.6:0"
+RDEPEND="
+ app-crypt/gnupg"
+
+S="${WORKDIR}/src/github.com/keybase/client"
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ mkdir -p "$(dirname "${S}")" || die
+ mv "client-${MY_PV}" "${S}" || die
+}
+
+src_compile() {
+ GOPATH="${WORKDIR}:${S}/go/vendor" \
+ go build -v -x \
+ -tags production \
+ -o "${T}/keybase" \
+ github.com/keybase/client/go/keybase || die
+}
+
+src_install() {
+ dobin "${T}/keybase"
+}
+
+pkg_postinst() {
+ elog "Run the service: keybase service"
+ elog "Run the client: keybase login"
+}