summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorml2020-11-10 23:41:37 +0100
committerml2020-11-10 23:41:37 +0100
commit5a3a028dcf3a4f0e00fb2353ccbd4dacf96fdacd (patch)
treecaeffbb06b3769e7641f19277ff0215c5e1f86ca /PKGBUILD
parenta9a250939b471ea191e9870cb33d1acace248630 (diff)
downloadpackages-5a3a028dcf3a4f0e00fb2353ccbd4dacf96fdacd.tar.gz
packages-5a3a028dcf3a4f0e00fb2353ccbd4dacf96fdacd.tar.bz2
packages-5a3a028dcf3a4f0e00fb2353ccbd4dacf96fdacd.zip
updpkg: helmsman 3.5.1-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1c38d6f..d59aee2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
1# Maintainer: ml <ml@visu.li> 1# Maintainer: ml <ml@visu.li>
2pkgname=helmsman 2pkgname=helmsman
3pkgver=3.5.0 3pkgver=3.5.1
4pkgrel=1 4pkgrel=1
5pkgdesc='Helm Charts as Code' 5pkgdesc='Helm Charts as Code'
6arch=('x86_64' 'i686') 6arch=('x86_64' 'i686')
@@ -12,7 +12,7 @@ optdepends=(
12 'helm-secrets: backend for secret encryption') 12 'helm-secrets: backend for secret encryption')
13makedepends=('go') 13makedepends=('go')
14source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") 14source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz")
15sha256sums=('f700de27d35324e7a848e7437faed7b0edc3c868ca931f52e314db99da4e632c') 15sha256sums=('33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1')
16 16
17prepare() { 17prepare() {
18 cd "${pkgname}-${pkgver}" 18 cd "${pkgname}-${pkgver}"
@@ -28,7 +28,7 @@ build() {
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'
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:- -1}
32 go build -o "$pkgname" -ldflags "-linkmode=external -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