File tree Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Expand file tree Collapse file tree 2 files changed +53
-0
lines changed Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ DIST keybase-3.0.0.tar.gz 47018995 BLAKE2B 73aaa00a94af707dc7e0713c4e0a5b2d7d7ae
2
2
DIST keybase-4.4.2.tar.gz 57819398 BLAKE2B 0852aa850ad4d66457a123e97449ae24081b695b2a6a70aa0b7ad928d59aa163b9a199e806090586579cc87ee77ebd5dcb18fb137b57aec7d61007be1cba51b5 SHA512 5eccfde7cfa35277fae71c4527c0d93bcedd0657311a9c055e50330a97a24e8c339aa3778e6e926f1230542c898e6a27c4fad18c4e2486c084c6b8d58eb2e125
3
3
DIST keybase-4.5.0.tar.gz 60207510 BLAKE2B 11acd22139fa33988a13cce3db62c7000aedb9d157de37d589a450910628a9325edd38a5dab150b7b053112e3f40930c0e569be6c990cff559bdc64dd0d34376 SHA512 5299d7eab28d487299200a97beb894a2254a2d6a525053b9acac8bd2088e581097bdb8515c9d37ed54ce3f27996e0dacd5ef943acef3c976646c85f00003bf52
4
4
DIST keybase-4.7.0.tar.gz 63827539 BLAKE2B 237a638b9b4e6dad9a0b0e0146d355f94ea87c459e64edca4253dd8f2eba4ba959a0d1e4ebd768b6572d0ab9c4f05abed539a3d8a778b23ae840a202e3fc6144 SHA512 4dc49b102f7d18345c960081a0a8cfa4d36f19159ec09ab468eb3c86e0ec2c259e9c4b2b769ea57c555c79f3cfb457c7896ca05bf185c9c5725f9458377e4048
5
+ DIST keybase-4.7.2.tar.gz 63834062 BLAKE2B e4d2977982d60e191e51ea54b64d52930524a71d1159da15fac8280a4be866d51804a928b2db60fee211a9ba499a6af63a7ae2698d7879ed2eaa3704cd7f49ab SHA512 4d43e2ab222b8c82fc97c15c52c718323ea19ffb2be35d19b5f631960d452f8cfe2ac48bd87e13f8e03587a7ed32ded233774a3230bafced7adb6c6f2818c891
Original file line number Diff line number Diff line change
1
+ # Copyright 1999-2019 Gentoo Authors
2
+ # Distributed under the terms of the GNU General Public License v2
3
+
4
+ EAPI=6
5
+
6
+ inherit golang-build systemd
7
+
8
+ DESCRIPTION=" Client for keybase.io"
9
+ HOMEPAGE=" https://keybase.io/"
10
+ SRC_URI=" https://github.com/keybase/client/archive/v${PV} .tar.gz -> ${P} .tar.gz"
11
+
12
+ LICENSE=" Apache-2.0 BSD BSD-2 LGPL-3 MIT MPL-2.0"
13
+ SLOT=" 0"
14
+ KEYWORDS=" ~amd64 ~x86"
15
+ IUSE=" "
16
+
17
+ DEPEND=" "
18
+ RDEPEND=" app-crypt/gnupg"
19
+
20
+ src_unpack () {
21
+ unpack " ${P} .tar.gz"
22
+ ln -vs " client-${PV} " " ${P} " || die
23
+ mkdir -vp " ${S} /src/github.com/keybase" || die
24
+ ln -vs " ${S} " " ${S} /src/github.com/keybase/client" || die
25
+ }
26
+
27
+ src_compile () {
28
+ EGO_PN=" github.com/keybase/client/go/keybase" \
29
+ EGO_BUILD_FLAGS=" -tags production -o ${T} /keybase" \
30
+ golang-build_src_compile
31
+ }
32
+
33
+ src_test () {
34
+ EGO_PN=" github.com/keybase/client/go/keybase" \
35
+ golang-build_src_test
36
+ }
37
+
38
+ src_install () {
39
+ dobin " ${T} /keybase"
40
+ dobin " ${S} /packaging/linux/run_keybase"
41
+ systemd_douserunit " ${S} /packaging/linux/systemd/keybase.service"
42
+ dodir " /opt/keybase"
43
+ insinto " /opt/keybase"
44
+ doins " ${S} /packaging/linux/crypto_squirrel.txt"
45
+ }
46
+
47
+ pkg_postinst () {
48
+ elog " Start/Restart keybase: run_keybase"
49
+ elog " Run the service: keybase service"
50
+ elog " Run the client: keybase login"
51
+ ewarn " Note that the user keybasehelper is obsolete and can be removed"
52
+ }
You can’t perform that action at this time.
0 commit comments