diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 4 insertions, 4 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.6 | 3 | pkgver = 3.4.6 |
4 | pkgrel = 1 | 4 | pkgrel = 2 |
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 |
@@ -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.6 | 3 | pkgver=3.4.6 |
4 | pkgrel=1 | 4 | pkgrel=2 |
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' |
@@ -26,10 +26,10 @@ 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 -ldflags=-linkmode=external' | 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:-} | 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 "-linkmode=external -X main.version=v${pkgver}-${_date}" ./cmd/helmsman |
33 | } | 33 | } |
34 | 34 | ||
35 | check() { | 35 | check() { |