diff options
author | ml | 2021-10-29 15:28:56 +0200 |
---|---|---|
committer | ml | 2021-10-29 15:28:56 +0200 |
commit | 2e81a6abac3cdf7739b4190725432fa8fc25501d (patch) | |
tree | 4aefdb1d12545081b6ed799bce0b73fece92bd69 | |
parent | c1d7c5f2c1ae7f07c8412f27fee143ec1150a010 (diff) | |
download | aur-2e81a6abac3cdf7739b4190725432fa8fc25501d.tar.gz |
updpkg: kubectl-neat 2.0.3-1
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 12 insertions, 18 deletions
@@ -1,6 +1,6 @@ pkgbase = kubectl-neat pkgdesc = Clean up Kuberntes yaml and json output to make it readable - pkgver = 2.0.2 + pkgver = 2.0.3 pkgrel = 1 url = https://github.com/itaysk/kubectl-neat arch = x86_64 @@ -9,8 +9,7 @@ pkgbase = kubectl-neat license = Apache makedepends = go depends = kubectl - source = https://github.com/itaysk/kubectl-neat/archive/v2.0.2/kubectl-neat-2.0.2.tar.gz - sha256sums = 18adb7b34d3ffbc3967ab976cdfa3d553be44bec3c46f056bc8e34d585e2d52f + source = https://github.com/itaysk/kubectl-neat/archive/v2.0.3/kubectl-neat-2.0.3.tar.gz + sha256sums = d4788cac64102db35c69e21d99a67a08a83848f955cb9bf14fa9a56c49935b4f pkgname = kubectl-neat - @@ -1,6 +1,6 @@ -# Maintainer: ml <ml@visu.li> +# Maintainer: ml <> pkgname=kubectl-neat -pkgver=2.0.2 +pkgver=2.0.3 pkgrel=1 pkgdesc='Clean up Kuberntes yaml and json output to make it readable' arch=('x86_64' 'aarch64') @@ -9,27 +9,22 @@ license=('Apache') depends=('kubectl') makedepends=('go') groups=('kubectl-plugins') -source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('18adb7b34d3ffbc3967ab976cdfa3d553be44bec3c46f056bc8e34d585e2d52f') +source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('d4788cac64102db35c69e21d99a67a08a83848f955cb9bf14fa9a56c49935b4f') build() { - cd "${pkgname}-${pkgver}" + cd "$pkgname-$pkgver" export CGO_ENABLED=1 export CGO_LDFLAGS="$LDFLAGS" export CGO_CFLAGS="$CFLAGS" export CGO_CPPFLAGS="$CPPFLAGS" export CGO_CXXFLAGS="$CXXFLAGS" - export GOFLAGS='-buildmode=pie -trimpath -modcacherw -mod=readonly -ldflags=-linkmode=external' + export GOFLAGS='-buildmode=pie -trimpath -modcacherw -ldflags=-linkmode=external' go build -o "$pkgname" } -check() { - cd "${pkgname}-${pkgver}" - go test -short ./... -} - package() { - cd "${pkgname}-${pkgver}" - install -Dm755 ${pkgname} -t "${pkgdir}/usr/bin" - install -Dm644 demo.png Readme.md -t "${pkgdir}/usr/share/doc/${pkgname}" + cd "$pkgname-$pkgver" + install -Dm755 "$pkgname" -t "$pkgdir/usr/bin" + install -Dm644 demo.png Readme.md -t "$pkgdir/usr/share/doc/$pkgname" } |