diff options
author | Matthias Lisin | 2019-09-18 21:38:41 +0200 |
---|---|---|
committer | Matthias Lisin | 2019-09-18 21:38:41 +0200 |
commit | 1867a12d9a1868fdaca95e5a432a46e489cab90b (patch) | |
tree | 22740e34f734ea7eb29308a29efe9e7b69d9bb09 | |
parent | f508899ba32b23bd32a389c6b4f63884b569f0f1 (diff) | |
download | aur-1867a12d9a1868fdaca95e5a432a46e489cab90b.tar.gz |
upgpkg: kube-prompt-git
- Replace `any` with `x86_64`, `i686` and `aarch64`
- Use `-trimpath`
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 6 deletions
@@ -1,9 +1,11 @@ pkgbase = kube-prompt-git pkgdesc = An interactive kubernetes client featuring auto-complete using go-prompt. - pkgver = 1.0.6.r3.gb3d8014 + pkgver = 1.0.8.r0.geed9b10 pkgrel = 1 url = https://github.com/c-bata/kube-prompt - arch = any + arch = x86_64 + arch = i686 + arch = aarch64 license = MIT makedepends = git makedepends = go @@ -1,9 +1,9 @@ # Maintainer: Matthias Lisin <ml@visu.li> pkgname=kube-prompt-git pkgrel=1 -pkgver=1.0.6.r3.gb3d8014 +pkgver=1.0.8.r0.geed9b10 pkgdesc='An interactive kubernetes client featuring auto-complete using go-prompt.' -arch=(any) +arch=('x86_64' 'i686' 'aarch64') url='https://github.com/c-bata/kube-prompt' license=('MIT') depends=('kubectl') @@ -25,8 +25,7 @@ build() { LDFLAGS+=" -X 'main.revision=$(git rev-parse --short HEAD)'" go build \ -o kube-prompt \ - -gcflags "all=-trimpath=${PWD}" \ - -asmflags "all=-trimpath=${PWD}" \ + -trimpath \ -ldflags "-extldflags ${LDFLAGS}" } |