summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorml2020-10-09 01:50:57 +0200
committerml2020-10-09 01:50:57 +0200
commit7c682eecb2fe377c24e94fb991c3d181624d404d (patch)
treeeaea6ff4470f72f6207aae7e1082e3eafd369de9
parent8cb65fc8651413ab82a2752bacb38e3493b1b85e (diff)
downloadpackages-7c682eecb2fe377c24e94fb991c3d181624d404d.tar.gz
packages-7c682eecb2fe377c24e94fb991c3d181624d404d.tar.bz2
packages-7c682eecb2fe377c24e94fb991c3d181624d404d.zip
updpkg: helmsman 3.4.6-1
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 27b2db1..ce98938 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
1pkgbase = helmsman 1pkgbase = helmsman
2 pkgdesc = Helm Charts as Code 2 pkgdesc = Helm Charts as Code
3 pkgver = 3.4.4 3 pkgver = 3.4.6
4 pkgrel = 2 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
7 arch = i686 7 arch = i686
@@ -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.4.4/helmsman-3.4.4.tar.gz 14 source = https://github.com/Praqma/helmsman/archive/v3.4.6/helmsman-3.4.6.tar.gz
15 sha256sums = 220be069c610c0b80789336648d318ed2046394e7a3f9b6119555fe35f19c5b2 15 sha256sums = 53f4ced9d274f7af7efd7462c77ed5536971efe5480e7ed9e1a3cc067acfadb2
16 16
17pkgname = helmsman 17pkgname = helmsman
18 18
diff --git a/PKGBUILD b/PKGBUILD
index e75dafa..022907e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
1# Maintainer: ml <ml@visu.li> 1# Maintainer: ml <ml@visu.li>
2pkgname=helmsman 2pkgname=helmsman
3pkgver=3.4.4 3pkgver=3.4.6
4pkgrel=2 4pkgrel=1
5pkgdesc='Helm Charts as Code' 5pkgdesc='Helm Charts as Code'
6arch=('x86_64' 'i686') 6arch=('x86_64' 'i686')
7url='https://github.com/Praqma/helmsman' 7url='https://github.com/Praqma/helmsman'
@@ -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=('220be069c610c0b80789336648d318ed2046394e7a3f9b6119555fe35f19c5b2') 15sha256sums=('53f4ced9d274f7af7efd7462c77ed5536971efe5480e7ed9e1a3cc067acfadb2')
16 16
17prepare() { 17prepare() {
18 cd "${pkgname}-${pkgver}" 18 cd "${pkgname}-${pkgver}"
@@ -26,9 +26,9 @@ build() {
26 export CGO_CFLAGS="$CFLAGS" 26 export CGO_CFLAGS="$CFLAGS"
27 export CGO_CPPFLAGS="$CPPFLAGS" 27 export CGO_CPPFLAGS="$CPPFLAGS"
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 -ldflags=-linkmode=external'
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 _date=$(date --utc --date="@${SOURCE_DATE_EPOCH}" +'%d%m%y') 31 TZ=UTC printf -v _date '%(%d%m%y)T' ${SOURCE_DATE_EPOCH:-}
32 go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman 32 go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman
33} 33}
34 34