Sören Tempel bd80f73f14 testing/[various]: rebuild against go 1.12.8-r0
go recently received a security upgrade to 1.12.8 (f4894bf9) this
upgrade fixes various CVEs in go standard libraries, for instance in
HTTP/2 functionality. Since go is statically linked packages using this
functionality need to be rebuild.
2019-08-18 17:51:43 +02:00

32 lines
1.1 KiB
Plaintext

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=keybase-client
pkgver=4.2.1
pkgrel=1
pkgdesc="CLI client for keybase.io"
url="https://github.com/keybase/client"
arch="all"
license="BSD-3-Clause"
makedepends="go"
options="!check" # need access to localhost:3000, which doesn't work with our infra
source="$pkgname-$pkgver.tar.gz::https://github.com/keybase/client/archive/v${pkgver}.tar.gz"
builddir="$srcdir/client-${pkgver}"
build() {
cd "$srcdir"
export GOPATH="$PWD"
export GO15VENDOREXPERIMENT=1
mkdir -p src/github.com/keybase
cp -r "$srcdir/client-${pkgver}" 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="cebed3975a85ad42bf7058625eaae5eb4c544d712d89c75f8d6d0d3b4bffae42e1bd449a778a993d4b21e2de39255c6d0aad50f437ee027f57faf8bfaa3cee70 keybase-client-4.2.1.tar.gz"