diff options
author | 2022-10-26 12:11:56 +0200 | |
---|---|---|
committer | 2022-10-26 12:11:56 +0200 | |
commit | eab99f71114fa54b1f7b963fc020bcd2dcf16fa6 (patch) | |
tree | bca2bf652c374a1fdd36cfe4bc96ae54f13cf96b | |
parent | app-portage/gentmaint: revision bump to v0.3.2-r1. (diff) | |
download | AstroFloyd-eab99f71114fa54b1f7b963fc020bcd2dcf16fa6.tar.gz AstroFloyd-eab99f71114fa54b1f7b963fc020bcd2dcf16fa6.tar.bz2 AstroFloyd-eab99f71114fa54b1f7b963fc020bcd2dcf16fa6.zip |
app-crypt/keybase: initial ebuild for v5.8.1.
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: AstroFloyd <AstroFloyd@gmail.com>
-rw-r--r-- | app-crypt/keybase/ChangeLog | 5 | ||||
-rw-r--r-- | app-crypt/keybase/Manifest | 4 | ||||
-rw-r--r-- | app-crypt/keybase/keybase-5.8.1.ebuild | 52 | ||||
-rw-r--r-- | app-crypt/keybase/metadata.xml | 8 |
4 files changed, 69 insertions, 0 deletions
diff --git a/app-crypt/keybase/ChangeLog b/app-crypt/keybase/ChangeLog new file mode 100644 index 0000000..9bf03f6 --- /dev/null +++ b/app-crypt/keybase/ChangeLog @@ -0,0 +1,5 @@ +*keybase-5.8.1 (26 Oct 2022) + + 26 Oct 2022; AstroFloyd <AstroFloyd@gmail.com> +keybase-5.8.1.ebuild, + +metadata.xml: + app-crypt/keybase: initial ebuild for v5.8.1. diff --git a/app-crypt/keybase/Manifest b/app-crypt/keybase/Manifest new file mode 100644 index 0000000..082e52c --- /dev/null +++ b/app-crypt/keybase/Manifest @@ -0,0 +1,4 @@ +DIST keybase-5.8.1.tar.gz 81053766 BLAKE2B c3921c8bd2f57ffda01ebd930afe5ec01fb0f770394dac3b9002cda1c8d3d872b22f744bee3e5ebf1285ef675b2b9cd8d3029aa7b5175fec0a5063bdbbfd48a0 SHA512 1d37b65e10379bb5a5c0dc08389bbc1bbe812556bb53e2c514c87bba73c333d72e9d245bcc6cea0724fc7633a93713e8848602ae45d3cad7c218d4377a76d9a8 +EBUILD keybase-5.8.1.ebuild 1316 BLAKE2B 186953777bf57b7efb212b421b959d18adc5f6d4e4da5e84966fcda85f9a7049e4a567371b027ed24077efe56c0b08d4962d49e6dd13a914e450b799fa03b5cd SHA512 6d725ca724feda12fe35334af69fbf393fa0f31bd67f7e6e6a2b77d398785c251894d0c8a2dedad1579e9a67afeb2ae57d38bac2ecc917dbab0f36729052ce42 +MISC ChangeLog 167 BLAKE2B d55a1cc7c469967467c9ea826ba7cd4c2c94e1980eb4cf6c46821771ba508369c19006a7eff81c26aba201613ff7c0f16ed8b917c2c5f1d5114aa6ff87b3bf3d SHA512 2e535613bfb97d13a0adf5d56e667f90bcf16d093e2022d3f1fa983771927a7adc63e577ef0da0937311779210a2b0c41e8ece50c3c8dbb16b22d5ecf2cc9fdd +MISC metadata.xml 252 BLAKE2B 53499f2f74e03a916dfd38d79ad1cafc118c38362a4ff1e33bf91fb7dbec654fc37245328403be6a77b4f4f833b2d4a675a46f65a72fd1c800b34bdf086cab5a SHA512 163d2b3a3faf9e2897150626ba1b1dcf37787379284e0222dd667c03c1fce18ac5e63489ea2674e9b3c5328e5aa636839becdfa8d0dd2b49ffd77019deb88729 diff --git a/app-crypt/keybase/keybase-5.8.1.ebuild b/app-crypt/keybase/keybase-5.8.1.ebuild new file mode 100644 index 0000000..7be72d0 --- /dev/null +++ b/app-crypt/keybase/keybase-5.8.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit golang-build systemd + +DESCRIPTION="Client for keybase.io" +HOMEPAGE="https://keybase.io/" +SRC_URI="https://github.com/keybase/client/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="app-crypt/gnupg" + +src_unpack() { + unpack "${P}.tar.gz" + ln -vs "client-${PV}" "${P}" || die + mkdir -vp "${S}/src/github.com/keybase" || die + ln -vs "${S}" "${S}/src/github.com/keybase/client" || die +} + +src_compile() { + EGO_PN="github.com/keybase/client/go/keybase" \ + EGO_BUILD_FLAGS="-tags production -o ${T}/keybase" \ + golang-build_src_compile +} + +src_test() { + EGO_PN="github.com/keybase/client/go/keybase" \ + golang-build_src_test +} + +src_install() { + dobin "${T}/keybase" + dobin "${S}/packaging/linux/run_keybase" + systemd_douserunit "${S}/packaging/linux/systemd/keybase.service" + dodir "/opt/keybase" + insinto "/opt/keybase" + doins "${S}/packaging/linux/crypto_squirrel.txt" +} + +pkg_postinst() { + elog "Start/Restart keybase: run_keybase" + elog "Run the service: keybase service" + elog "Run the client: keybase login" + ewarn "Note that the user keybasehelper is obsolete and can be removed" +} diff --git a/app-crypt/keybase/metadata.xml b/app-crypt/keybase/metadata.xml new file mode 100644 index 0000000..ae34b4d --- /dev/null +++ b/app-crypt/keybase/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>AstroFloyd@gmail.com</email> + <name>AstroFloyd</name> + </maintainer> +</pkgmetadata> |