summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a8ebb8e..4feb5b3 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.1 3 pkgver = 3.6.2
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.1/helmsman-3.5.1.tar.gz 14 source = https://github.com/Praqma/helmsman/archive/v3.6.2/helmsman-3.6.2.tar.gz
15 sha256sums = 33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1 15 sha256sums = 56a50521b5ec443569080eaaa700e4d2bf890fc8a42048c1e0560fc5daa8ed8e
16 16
17pkgname = helmsman 17pkgname = helmsman
18 18
diff --git a/PKGBUILD b/PKGBUILD
index d59aee2..b5aca72 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.1 3pkgver=3.6.2
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=('33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1') 15sha256sums=('56a50521b5ec443569080eaaa700e4d2bf890fc8a42048c1e0560fc5daa8ed8e')
16 16
17prepare() { 17prepare() {
18 cd "${pkgname}-${pkgver}" 18 cd "${pkgname}-${pkgver}"
@@ -28,13 +28,13 @@ 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:- -1} 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
35check() { 35check() {
36 cd "${pkgname}-${pkgver}" 36 cd "${pkgname}-${pkgver}"
37 go test ./... 37 go test -short ./...
38} 38}
39 39
40package() { 40package() {