summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorml2020-08-15 16:56:10 +0200
committerml2020-08-15 16:56:10 +0200
commita2b5b52549e75cd6955c5d38a5f926bd96d7ffc4 (patch)
tree073932658a64ce1e88de59c3bbf1a71eee45ecdf /PKGBUILD
parent9c66070845872680b3ecc1633e3b99a996ab921f (diff)
downloadaur-a2b5b52549e75cd6955c5d38a5f926bd96d7ffc4.tar.gz
updpkg: helm-diff 3.1.3-2
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 2 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index eb214315abe..3ba568c1cea 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,19 @@
# Maintainer: ml <ml@visu.li>
pkgname=helm-diff
pkgver=3.1.3
-pkgrel=1
+pkgrel=2
pkgdesc='Helm plugin that shows a diff explaining what a helm upgrade would change'
arch=('x86_64')
url='https://github.com/databus23/helm-diff'
license=('Apache')
install=helm-diff.install
depends=('helm')
-# `go mod init` wants git
-makedepends=('git' 'go')
+makedepends=('go')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
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
- # go mod init didn't catch stretchr/testify
- #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 download
sed -i '/^hooks:$/Q' plugin.yaml
}