summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorml2020-08-15 16:56:10 +0200
committerml2020-08-15 16:56:10 +0200
commita2b5b52549e75cd6955c5d38a5f926bd96d7ffc4 (patch)
tree073932658a64ce1e88de59c3bbf1a71eee45ecdf
parent9c66070845872680b3ecc1633e3b99a996ab921f (diff)
downloadaur-a2b5b52549e75cd6955c5d38a5f926bd96d7ffc4.tar.gz
updpkg: helm-diff 3.1.3-2
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD11
2 files changed, 3 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 067add45449..eaca76b5adf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,11 @@
pkgbase = helm-diff
pkgdesc = Helm plugin that shows a diff explaining what a helm upgrade would change
pkgver = 3.1.3
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/databus23/helm-diff
install = helm-diff.install
arch = x86_64
license = Apache
- makedepends = git
makedepends = go
depends = helm
source = helm-diff-3.1.3.tar.gz::https://github.com/databus23/helm-diff/archive/v3.1.3.tar.gz
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
}