diff options
-rw-r--r-- | testing/keybase-client/APKBUILD | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/testing/keybase-client/APKBUILD b/testing/keybase-client/APKBUILD index 2d582cce6f..d3b3e6bacd 100644 --- a/testing/keybase-client/APKBUILD +++ b/testing/keybase-client/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=keybase-client -pkgver=1.0.15 +pkgver=1.0.41 _ver=${pkgver/_p/-} pkgrel=0 pkgdesc="Keybase command line client" @@ -14,24 +14,22 @@ makedepends="$depends_dev go" install="" subpackages="" options="!strip" -source="$pkgname-$pkgver.tar.gz::https://github.com/keybase/client/archive/v${_ver}.tar.gz" +source="${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname/-//}/archive/v${_ver}.tar.gz" -builddir="$srcdir"/client-$_ver +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 + 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 + go build -v -a -tags production -o "${srcdir}/keybase" } package() { - install -Dm755 "$srcdir"/keybase "$pkgdir"/usr/bin/keybase || return 1 + install -Dm755 "${srcdir}/keybase" "${pkgdir}/usr/bin/keybase" } -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" +sha512sums="1382f008089d8704167842960aec9e4007ac32db589bad45944428ad92ac90b1802338ff6ccc0c570d40b9c9115170a2e15c590f875cdc8261d203c01402385c keybase-client-1.0.41.tar.gz" |