summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Lisin2020-05-13 14:46:27 +0200
committerMatthias Lisin2020-05-13 14:46:27 +0200
commitad98e15a2e7237169b6dfe12d1513f0ce1406e1b (patch)
tree70ab4f6fc58e973c0a8f0e34f2a4a58c97fbc011
parent102d8ec031e578d1e1ff71e6945940319b508dfc (diff)
downloadaur-ad98e15a2e7237169b6dfe12d1513f0ce1406e1b.tar.gz
upgpkg: helmsman 3.3.0-2
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b8ba1b6371d3..d579c57a51de 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = helmsman
pkgdesc = Helm Charts as Code
pkgver = 3.3.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/Praqma/helmsman
arch = x86_64
arch = i686
license = MIT
makedepends = go
- depends = helm
+ depends = helm-diff
depends = kubectl
optdepends = ruby-hiera-eyaml: backend for secret encryption
source = helmsman-3.3.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.3.0.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
index 42edbbf9c27b..e6b7ebdbc584 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
# Maintainer: ml <ml@visu.li>
pkgname=helmsman
pkgver=3.3.0
-pkgrel=1
+pkgrel=2
pkgdesc='Helm Charts as Code'
arch=('x86_64' 'i686')
url='https://github.com/Praqma/helmsman'
license=('MIT')
-depends=('helm' 'kubectl')
+depends=('helm-diff' 'kubectl')
optdepends=('ruby-hiera-eyaml: backend for secret encryption')
makedepends=('go')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
@@ -14,10 +14,13 @@ sha256sums=('e9116122751a6448129d2e14f01b2777f66f02d534c5985bb5dc16eedca0387e')
build() {
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 -trimpath'
- # https://github.com/Praqma/helmsman/blob/master/Makefile
- # man makepkg(8)
+ # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile
_date=$(date --utc --date="@${SOURCE_DATE_EPOCH}" +'%d%m%y')
go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman
}