summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorml2020-08-15 16:53:01 +0200
committerml2020-08-15 16:53:01 +0200
commit9c66070845872680b3ecc1633e3b99a996ab921f (patch)
tree6e11137a9642f99fced5f655dd786071b0c3977d /PKGBUILD
parentef89bcd8c76721ebe0130e14b14cc5b213dcf025 (diff)
downloadaur-9c66070845872680b3ecc1633e3b99a996ab921f.tar.gz
updpkg: helm-diff 3.1.3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5703c816457..eb214315abe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: ml <ml@visu.li>
pkgname=helm-diff
-pkgver=3.1.2
+pkgver=3.1.3
pkgrel=1
pkgdesc='Helm plugin that shows a diff explaining what a helm upgrade would change'
arch=('x86_64')
@@ -11,16 +11,17 @@ depends=('helm')
# `go mod init` wants git
makedepends=('git' 'go')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('2cab1494bb9f19bc1efe2b0c0d774c424990b3b75626867ac92958232ea7013d')
+sha256sums=('db5be9cfb14c811a0145900ab995586821625090c28180900e0e49f51d65778f')
prepare() {
cd "${pkgname}-${pkgver}"
# fails when go.mod present from previous run
- [[ ! -f go.mod ]] && go mod init github.com/databus23/helm-diff
+ #[[ ! -f go.mod ]] && go mod init github.com/databus23/helm-diff
# go mod init didn't catch stretchr/testify
- go mod edit -require github.com/stretchr/testify@v1.5.1
+ #go mod edit -require github.com/stretchr/testify@v1.5.1
# `go mod download` fails to get all required modules and `go build -mod=readonly` fails
- go mod tidy
+ #go mod tidy
+ go mod download
sed -i '/^hooks:$/Q' plugin.yaml
}
@@ -31,8 +32,8 @@ build() {
export CGO_CFLAGS="$CFLAGS"
export CGO_CPPFLAGS="$CPPFLAGS"
export CGO_CXXFLAGS="$CXXFLAGS"
- export GOFLAGS='-buildmode=pie -trimpath -modcacherw -mod=readonly'
- go build -o bin/diff -ldflags "-X github.com/databus23/helm-diff/cmd.Version=${pkgver}"
+ export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath'
+ go build -o bin/diff -ldflags "-linkmode=external -X github.com/databus23/helm-diff/cmd.Version=${pkgver}"
}
check() {