summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMatthias Lisin2020-05-13 14:35:25 +0200
committerMatthias Lisin2020-05-13 14:35:25 +0200
commit06bfcb89917d1348af23e9d9d12399fcff98232d (patch)
tree84005993bebdb21571301ffa7bbe60e9082ed008 /PKGBUILD
parent7fe377cddbf9527bb47fdcf0028f7a2d71571b4f (diff)
downloadaur-06bfcb89917d1348af23e9d9d12399fcff98232d.tar.gz
upgpkg: helm-diff 3.1.1-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 36a5f7745b6..eccaa05ec2b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: ml <ml@visu.li>
pkgname=helm-diff
pkgver=3.1.1
-pkgrel=2
+pkgrel=3
pkgdesc='Helm plugin that shows a diff explaining what a helm upgrade would change'
arch=('x86_64')
url='https://github.com/databus23/helm-diff'
@@ -26,6 +26,7 @@ prepare() {
build() {
cd "${pkgname}-${pkgver}"
+ export CGO_ENABLED=1
export CGO_LDFLAGS="$LDFLAGS"
export CGO_CFLAGS="$CFLAGS"
export CGO_CPPFLAGS="$CPPFLAGS"
@@ -41,6 +42,7 @@ check() {
package() {
cd "${pkgname}-${pkgver}"
- install -Dm755 bin/diff -t "${pkgdir}/usr/lib/helm/plugins/helm-diff/bin"
- install -m644 plugin.yaml -t "${pkgdir}/usr/lib/helm/plugins/helm-diff"
+ # /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}/bin"
+ install -m644 plugin.yaml -t "${pkgdir}/usr/lib/helm/plugins/${pkgname}"
}