summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorml2022-01-08 21:46:48 +0100
committerml2022-01-08 21:46:48 +0100
commit55d5839591d3aa7c55f772d8dfe1d0773d240f62 (patch)
tree09bbcbc3f8b99396a552044d522bfe4cb9926090
parenta2b5b52549e75cd6955c5d38a5f926bd96d7ffc4 (diff)
downloadaur-55d5839591d3aa7c55f772d8dfe1d0773d240f62.tar.gz
updpkg: helm-diff 3.2.0-1
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD26
2 files changed, 16 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index eaca76b5adf..8eafb6427b5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,14 @@
pkgbase = helm-diff
pkgdesc = Helm plugin that shows a diff explaining what a helm upgrade would change
- pkgver = 3.1.3
- pkgrel = 2
+ pkgver = 3.2.0
+ pkgrel = 1
url = https://github.com/databus23/helm-diff
install = helm-diff.install
arch = x86_64
license = Apache
makedepends = go
depends = helm
- source = helm-diff-3.1.3.tar.gz::https://github.com/databus23/helm-diff/archive/v3.1.3.tar.gz
- sha256sums = db5be9cfb14c811a0145900ab995586821625090c28180900e0e49f51d65778f
+ source = https://github.com/databus23/helm-diff/archive/v3.2.0/helm-diff-3.2.0.tar.gz
+ sha256sums = 38b3aa194493f5d12dfc05e35db636af5e07ae7a708c3dba34ef81334434bc2c
pkgname = helm-diff
-
diff --git a/PKGBUILD b/PKGBUILD
index 3ba568c1cea..37e95ca52c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: ml <ml@visu.li>
pkgname=helm-diff
-pkgver=3.1.3
-pkgrel=2
+pkgver=3.2.0
+pkgrel=1
pkgdesc='Helm plugin that shows a diff explaining what a helm upgrade would change'
arch=('x86_64')
url='https://github.com/databus23/helm-diff'
@@ -9,34 +9,32 @@ license=('Apache')
install=helm-diff.install
depends=('helm')
makedepends=('go')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
-sha256sums=('db5be9cfb14c811a0145900ab995586821625090c28180900e0e49f51d65778f')
+source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha256sums=('38b3aa194493f5d12dfc05e35db636af5e07ae7a708c3dba34ef81334434bc2c')
prepare() {
- cd "${pkgname}-${pkgver}"
- go mod download
- sed -i '/^hooks:$/Q' plugin.yaml
+ sed -i '/^hooks:$/Q' "$pkgname-$pkgver"/plugin.yaml
}
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 -modcacherw -mod=readonly -trimpath'
- go build -o bin/diff -ldflags "-linkmode=external -X github.com/databus23/helm-diff/cmd.Version=${pkgver}"
+ export GOFLAGS='-buildmode=pie -modcacherw -trimpath'
+ go build -o bin/diff -ldflags "-linkmode=external -X github.com/databus23/helm-diff/cmd.Version=$pkgver"
}
check() {
- cd "${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
go test ./...
}
package() {
- cd "${pkgname}-${pkgver}"
+ cd "$pkgname-$pkgver"
# /usr/lib/helm/plugins is my own choice and not a standard. feedback welcome
- install -Dm755 bin/diff -t "${pkgdir}/usr/lib/helm/plugins/${pkgname##helm-}/bin"
- install -m644 plugin.yaml -t "${pkgdir}/usr/lib/helm/plugins/${pkgname##helm-}"
+ install -Dm755 bin/diff -t "$pkgdir/usr/lib/helm/plugins/${pkgname##helm-}/bin"
+ install -m644 plugin.yaml -t "$pkgdir/usr/lib/helm/plugins/${pkgname##helm-}"
}