diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ | |||
1 | # Maintainer: ml <ml@visu.li> | 1 | # Maintainer: ml <ml@visu.li> |
2 | pkgname=helmsman | 2 | pkgname=helmsman |
3 | pkgver=3.5.0 | 3 | pkgver=3.5.1 |
4 | pkgrel=1 | 4 | pkgrel=1 |
5 | pkgdesc='Helm Charts as Code' | 5 | pkgdesc='Helm Charts as Code' |
6 | arch=('x86_64' 'i686') | 6 | arch=('x86_64' 'i686') |
@@ -12,7 +12,7 @@ optdepends=( | |||
12 | 'helm-secrets: backend for secret encryption') | 12 | 'helm-secrets: backend for secret encryption') |
13 | makedepends=('go') | 13 | makedepends=('go') |
14 | source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") | 14 | source=("${url}/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz") |
15 | sha256sums=('f700de27d35324e7a848e7437faed7b0edc3c868ca931f52e314db99da4e632c') | 15 | sha256sums=('33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1') |
16 | 16 | ||
17 | prepare() { | 17 | prepare() { |
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 | ||