diff options
-rw-r--r-- | app-crypt/keybase/Manifest | 1 | ||||
-rw-r--r-- | app-crypt/keybase/keybase-1.0.44.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/app-crypt/keybase/Manifest b/app-crypt/keybase/Manifest index 6f38d454aa67..9a0956f69852 100644 --- a/app-crypt/keybase/Manifest +++ b/app-crypt/keybase/Manifest @@ -2,3 +2,4 @@ DIST keybase-1.0.33.tar.gz 29170354 BLAKE2B 78799ea49cde32e3c1be781e281b5ca188f7 DIST keybase-1.0.36.tar.gz 30043919 BLAKE2B 0053088754b0a4a47314032e87a7c5165aff59ded585ae20fb12c3dbf0c7437f7f0370f236fec0db501cacb3a75e87ed494df8f688d360c58904e851eb119f60 SHA512 c6bd4805240bdafd27eac382a30fac6e5ac3e6eb313dda027533c3a8f366077c894b38c1b972ff5688104e1ca4231cbf4242eeb168de9782bbac732da5639ed0 DIST keybase-1.0.39.tar.gz 30226025 BLAKE2B 5d10e4afe3f0f1691221cbf69ff3e427fe318768e74f5891d32416e92ad5c1c45ad3ff0c83ea2d2405f4492a2d2af989ff587c60c9a5677ae580c9502e9a5726 SHA512 def416bad6fc3513a3341aecaf03bce356a890667e4c64f9edc1c469b3a1f167c3022f6c1aabaa48257983aaa9826b45117ada6cc26bf862c97092c904cd32f1 DIST keybase-1.0.41.tar.gz 31643095 BLAKE2B 72fe94c8996b0dfad3d75f487545d5cb96ffa09c46276104171f103f2fcbb29199013ad8075fdddf3655f63f55cbd2f0d0768b5f0e697b7339262736d9c29ca5 SHA512 1382f008089d8704167842960aec9e4007ac32db589bad45944428ad92ac90b1802338ff6ccc0c570d40b9c9115170a2e15c590f875cdc8261d203c01402385c +DIST keybase-1.0.44.tar.gz 31729876 BLAKE2B 945700824e630591f7b79dd5e8253156ee8e3ab1349f9ad584311d781cd9c98a5176884aa2fa34ac164af2194941822e56e96d7783843f649a97058edf015670 SHA512 a50c33548745e3c946099105c6926e4b4cd37a96c57d86ca7259b7b864f92a9e2b8823b992d7e367ee93a5832481360d66e170ba59a5cf99296dde20c1538c41 diff --git a/app-crypt/keybase/keybase-1.0.44.ebuild b/app-crypt/keybase/keybase-1.0.44.ebuild new file mode 100644 index 000000000000..afb357189ce5 --- /dev/null +++ b/app-crypt/keybase/keybase-1.0.44.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit eutils systemd user 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 + app-crypt/kbfs" +RDEPEND=" + app-crypt/gnupg" + +S="${WORKDIR}/src/github.com/keybase/client" + +pkg_setup() { + enewuser keybasehelper +} + +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 + GOPATH="${WORKDIR}" \ + go build -v -x \ + -tags production \ + -o "${T}/keybase-mount-helper" \ + github.com/keybase/client/go/mounter/keybase-mount-helper || die +} + +src_install() { + dobin "${T}/keybase" + dobin "${T}/keybase-mount-helper" + fowners keybasehelper:keybasehelper "${EROOT}/usr/bin/keybase-mount-helper" + dobin "${S}/packaging/linux/run_keybase" + systemd_douserunit "${S}/packaging/linux/systemd/keybase.service" +} + +pkg_postinst() { + elog "Run the service: keybase service" + elog "Run the client: keybase login" + elog "Restart keybase: run_keybase" +} |