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.33.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/app-crypt/keybase/Manifest b/app-crypt/keybase/Manifest
index 3bdf310ce7a5..8ee64abfb185 100644
--- a/app-crypt/keybase/Manifest
+++ b/app-crypt/keybase/Manifest
@@ -5,3 +5,4 @@ DIST keybase-1.0.17.tar.gz 33200376 SHA256 937b4bc61c889ef3982a5352d8a49cda8a4f4
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
+DIST keybase-1.0.33.tar.gz 29170354 SHA256 c8135d572899b0bf0205f7ddbe30d4bfa89f358f64678eb25dadfc0e0fa0dbe0 SHA512 d02933e88613102e27a4aa5f2494ae2b55456cab8c5cadad9c412069b24c574a20609fc83b88bc8f9aa00bfd300822bc4c882392f65fec3e7a8056cebc6fb9d4 WHIRLPOOL d11b7fa29f73e85df51dbc45c7be2441783ada43ddbe56ed684f8030663d640d930b2a9fc0663208664ae567ae8629d04ac786da5dd6b31b8d3517889479da1c
diff --git a/app-crypt/keybase/keybase-1.0.33.ebuild b/app-crypt/keybase/keybase-1.0.33.ebuild
new file mode 100644
index 000000000000..92df05b55e79
--- /dev/null
+++ b/app-crypt/keybase/keybase-1.0.33.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"
+}