summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Lisin2020-05-15 21:26:37 +0200
committerMatthias Lisin2020-05-15 21:26:37 +0200
commit9597cea52c8e91372f01900b4a1f92e46dc7bf83 (patch)
tree68b5ce4dc247ce0a5c60587889c0cd856c98e15f
parente15772c0113c46918baa8af0db5a68cb3002cbbd (diff)
downloadpackages-9597cea52c8e91372f01900b4a1f92e46dc7bf83.tar.gz
packages-9597cea52c8e91372f01900b4a1f92e46dc7bf83.tar.bz2
packages-9597cea52c8e91372f01900b4a1f92e46dc7bf83.zip
upgpkg: helmsman 3.4.1-1
-rw-r--r--.SRCINFO6
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD11
3 files changed, 14 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3c9826e..350dc3b 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.4.0 3 pkgver = 3.4.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
@@ -10,8 +10,8 @@ pkgbase = helmsman
10 depends = helm-diff 10 depends = helm-diff
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 source = helmsman-3.4.0.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.0.tar.gz 13 source = helmsman-3.4.1.tar.gz::https://github.com/Praqma/helmsman/archive/v3.4.1.tar.gz
14 sha256sums = 8a58c448e4571604ad72b9e3a049de422a8a300a75182ff6a303c98f5e1b2ad0 14 sha256sums = b79508f64bc7b56eadba41a45ff0e4c6f12990210d464173bbba441635edebdb
15 15
16pkgname = helmsman 16pkgname = helmsman
17 17
diff --git a/.gitignore b/.gitignore
index 37e29d6..f1ecb61 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
1/pkg/ 1/pkg/
2/src/ 2/src/
3/*.log 3/*.log
4/helmsman-*.tar.gz 4/*.tar.gz
5/helmsman-*.pkg.tar* 5/*.pkg.tar*
6/*.src.tar*
diff --git a/PKGBUILD b/PKGBUILD
index 50554bd..40399eb 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.4.0 3pkgver=3.4.1
4pkgrel=1 4pkgrel=1
5pkgdesc='Helm Charts as Code' 5pkgdesc='Helm Charts as Code'
6arch=('x86_64' 'i686') 6arch=('x86_64' 'i686')
@@ -10,7 +10,12 @@ depends=('helm-diff' 'kubectl')
10optdepends=('ruby-hiera-eyaml: backend for secret encryption') 10optdepends=('ruby-hiera-eyaml: backend for secret encryption')
11makedepends=('go') 11makedepends=('go')
12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") 12source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz")
13sha256sums=('8a58c448e4571604ad72b9e3a049de422a8a300a75182ff6a303c98f5e1b2ad0') 13sha256sums=('b79508f64bc7b56eadba41a45ff0e4c6f12990210d464173bbba441635edebdb')
14
15prepare() {
16 cd "${pkgname}-${pkgver}"
17 go mod download
18}
14 19
15build() { 20build() {
16 cd "${pkgname}-${pkgver}" 21 cd "${pkgname}-${pkgver}"
@@ -19,7 +24,7 @@ build() {
19 export CGO_CFLAGS="$CFLAGS" 24 export CGO_CFLAGS="$CFLAGS"
20 export CGO_CPPFLAGS="$CPPFLAGS" 25 export CGO_CPPFLAGS="$CPPFLAGS"
21 export CGO_CXXFLAGS="$CXXFLAGS" 26 export CGO_CXXFLAGS="$CXXFLAGS"
22 export GOFLAGS='-buildmode=pie -modcacherw -trimpath' 27 export GOFLAGS='-buildmode=pie -modcacherw -mod=readonly -trimpath'
23 # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile 28 # man makepkg(8), https://github.com/Praqma/helmsman/blob/master/Makefile
24 _date=$(date --utc --date="@${SOURCE_DATE_EPOCH}" +'%d%m%y') 29 _date=$(date --utc --date="@${SOURCE_DATE_EPOCH}" +'%d%m%y')
25 go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman 30 go build -o "$pkgname" -ldflags "-X main.version=v${pkgver}-${_date}" ./cmd/helmsman