summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorml2020-10-09 01:52:48 +0200
committerml2020-10-09 01:52:48 +0200
commit397418b101fbf20b8095d473276ae9ae3a83f17a (patch)
treecae6ff92d5e60a9d1d18424ef055d04fdbd05458
parent7c682eecb2fe377c24e94fb991c3d181624d404d (diff)
downloadpackages-397418b101fbf20b8095d473276ae9ae3a83f17a.tar.gz
packages-397418b101fbf20b8095d473276ae9ae3a83f17a.tar.bz2
packages-397418b101fbf20b8095d473276ae9ae3a83f17a.zip
updpkg: helmsman 3.4.6-2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ce98938..3a541d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
1pkgbase = helmsman 1pkgbase = 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
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() {