diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 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.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() { |