diff options
author | ml | 2020-10-09 01:50:57 +0200 |
---|---|---|
committer | ml | 2020-10-09 01:50:57 +0200 |
commit | 7c682eecb2fe377c24e94fb991c3d181624d404d (patch) | |
tree | eaea6ff4470f72f6207aae7e1082e3eafd369de9 /PKGBUILD | |
parent | 8cb65fc8651413ab82a2752bacb38e3493b1b85e (diff) | |
download | packages-7c682eecb2fe377c24e94fb991c3d181624d404d.tar.gz packages-7c682eecb2fe377c24e94fb991c3d181624d404d.tar.bz2 packages-7c682eecb2fe377c24e94fb991c3d181624d404d.zip |
updpkg: helmsman 3.4.6-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 | ||