diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 9 deletions
@@ -1,7 +1,7 @@ | |||
1 | pkgbase = helmsman | 1 | pkgbase = 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 | ||
17 | pkgname = helmsman | 17 | pkgname = helmsman |
18 | 18 | ||
@@ -1,7 +1,7 @@ | |||
1 | # Maintainer: ml <ml@visu.li> | 1 | # Maintainer: ml <ml@visu.li> |
2 | pkgname=helmsman | 2 | pkgname=helmsman |
3 | pkgver=3.4.4 | 3 | pkgver=3.4.6 |
4 | pkgrel=2 | 4 | pkgrel=1 |
5 | pkgdesc='Helm Charts as Code' | 5 | pkgdesc='Helm Charts as Code' |
6 | arch=('x86_64' 'i686') | 6 | arch=('x86_64' 'i686') |
7 | url='https://github.com/Praqma/helmsman' | 7 | url='https://github.com/Praqma/helmsman' |
@@ -12,7 +12,7 @@ optdepends=( | |||
12 | 'helm-secrets: backend for secret encryption') | 12 | 'helm-secrets: backend for secret encryption') |
13 | makedepends=('go') | 13 | makedepends=('go') |
14 | source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") | 14 | source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") |
15 | sha256sums=('220be069c610c0b80789336648d318ed2046394e7a3f9b6119555fe35f19c5b2') | 15 | sha256sums=('53f4ced9d274f7af7efd7462c77ed5536971efe5480e7ed9e1a3cc067acfadb2') |
16 | 16 | ||
17 | prepare() { | 17 | prepare() { |
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 | ||