blob: d3b3e6bacdb2de73329261777becd6ca02b9bce6 (
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
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=keybase-client
pkgver=1.0.41
_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/${pkgname/-//}/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"
}
sha512sums="1382f008089d8704167842960aec9e4007ac32db589bad45944428ad92ac90b1802338ff6ccc0c570d40b9c9115170a2e15c590f875cdc8261d203c01402385c keybase-client-1.0.41.tar.gz"
|