blob: 2d582cce6f9d09ba7c5a2db467f8c6c5afe3b060 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=keybase-client
pkgver=1.0.15
_ver=${pkgver/_p/-}
pkgrel=0
pkgdesc="Keybase command line client"
url="https://github.com/keybase/client"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends="$depends_dev go"
install=""
subpackages=""
options="!strip"
source="$pkgname-$pkgver.tar.gz::https://github.com/keybase/client/archive/v${_ver}.tar.gz"
builddir="$srcdir"/client-$_ver
build() {
cd "$srcdir"
export GOPATH="$PWD"
export GO15VENDOREXPERIMENT=1
mkdir -p src/github.com/keybase
cp -r "$srcdir"/client-$_ver src/github.com/keybase/client
cd src/github.com/keybase/client/go/keybase
go build -v -a -tags production -o "$srcdir"/keybase
}
package() {
install -Dm755 "$srcdir"/keybase "$pkgdir"/usr/bin/keybase || return 1
}
md5sums="a2e792f34b31c6ea86b56db51b2f0d72 keybase-client-1.0.15.tar.gz"
sha256sums="6fe66b07772ca000879bda65cb9d112d2dbbc301d6afa4d4b46055d385f86e36 keybase-client-1.0.15.tar.gz"
sha512sums="623a952d88e4c9519073c9e8c81b2d53bddd081e048dbe127b658f91e97a37493767ced36a07dcb65791f1f3abc398bcb6456a921b4301f86c31dda5b8fdccce keybase-client-1.0.15.tar.gz"
|