summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 022907e..d42b80f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
1# Maintainer: ml <ml@visu.li> 1# Maintainer: ml <ml@visu.li>
2pkgname=helmsman 2pkgname=helmsman
3pkgver=3.4.6 3pkgver=3.4.6
4pkgrel=1 4pkgrel=2
5pkgdesc='Helm Charts as Code' 5pkgdesc='Helm Charts as Code'
6arch=('x86_64' 'i686') 6arch=('x86_64' 'i686')
7url='https://github.com/Praqma/helmsman' 7url='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
35check() { 35check() {