summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fdd3c5a..a8ebb8e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
1pkgbase = helmsman 1pkgbase = helmsman
2 pkgdesc = Helm Charts as Code 2 pkgdesc = Helm Charts as Code
3 pkgver = 3.5.0 3 pkgver = 3.5.1
4 pkgrel = 1 4 pkgrel = 1
5 url = https://github.com/Praqma/helmsman 5 url = https://github.com/Praqma/helmsman
6 arch = x86_64 6 arch = x86_64
@@ -11,8 +11,8 @@ pkgbase = helmsman
11 depends = kubectl 11 depends = kubectl
12 optdepends = ruby-hiera-eyaml: backend for secret encryption 12 optdepends = ruby-hiera-eyaml: backend for secret encryption
13 optdepends = helm-secrets: backend for secret encryption 13 optdepends = helm-secrets: backend for secret encryption
14 source = https://github.com/Praqma/helmsman/archive/v3.5.0/helmsman-3.5.0.tar.gz 14 source = https://github.com/Praqma/helmsman/archive/v3.5.1/helmsman-3.5.1.tar.gz
15 sha256sums = f700de27d35324e7a848e7437faed7b0edc3c868ca931f52e314db99da4e632c 15 sha256sums = 33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1
16 16
17pkgname = helmsman 17pkgname = helmsman
18 18
diff --git a/PKGBUILD b/PKGBUILD
index 1c38d6f..d59aee2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
1# Maintainer: ml <ml@visu.li> 1# Maintainer: ml <ml@visu.li>
2pkgname=helmsman 2pkgname=helmsman
3pkgver=3.5.0 3pkgver=3.5.1
4pkgrel=1 4pkgrel=1
5pkgdesc='Helm Charts as Code' 5pkgdesc='Helm Charts as Code'
6arch=('x86_64' 'i686') 6arch=('x86_64' 'i686')
@@ -12,7 +12,7 @@ optdepends=(
12 'helm-secrets: backend for secret encryption') 12 'helm-secrets: backend for secret encryption')
13makedepends=('go') 13makedepends=('go')
14source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") 14source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
15sha256sums=('f700de27d35324e7a848e7437faed7b0edc3c868ca931f52e314db99da4e632c') 15sha256sums=('33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1')
16 16
17prepare() { 17prepare() {
18 cd "${pkgname}-${pkgver}" 18 cd "${pkgname}-${pkgver}"
@@ -28,7 +28,7 @@ build() {
28 export CGO_CXXFLAGS="$CXXFLAGS" 28 export CGO_CXXFLAGS="$CXXFLAGS"
29 export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath' 29 export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath'
30 # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile 30 # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile
31 TZ=UTC printf -v _date '%(%d%m%y)T' ${SOURCE_DATE_EPOCH:-} 31 TZ=UTC printf -v _date '%(%d%m%y)T' ${SOURCE_DATE_EPOCH:- -1}
32 go build -o "$pkgname" -ldflags "-linkmode=external -X main.version=v${pkgver}-${_date}" ./cmd/helmsman 32 go build -o "$pkgname" -ldflags "-linkmode=external -X main.version=v${pkgver}-${_date}" ./cmd/helmsman
33} 33}
34 34