# Contributor: Rasmus Thomsen # Contributor: Sören Tempel # Maintainer: Natanael Copa pkgname=keybase-client pkgver=5.2.0 pkgrel=0 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="a7cb5c6d6a9d595c93f4ba50e58e8b673baa9aef4d4c1b2f1f70e6ce25f7b0c4ddf9df0c60a8b444484f63df109222c29a0058befa3e1f27bc10e802fecc1d33 keybase-client-5.2.0.tar.gz"