diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 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.1 | 3 | pkgver=3.6.2 |
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=('33dedea0a3d862fc949b2343dcb81d34552c7f00105967dc7023e36ed39c0aa1') | 15 | sha256sums=('56a50521b5ec443569080eaaa700e4d2bf890fc8a42048c1e0560fc5daa8ed8e') |
16 | 16 | ||
17 | prepare() { | 17 | prepare() { |
18 | cd "${pkgname}-${pkgver}" | 18 | cd "${pkgname}-${pkgver}" |
@@ -28,13 +28,13 @@ 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:- -1} | 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 | ||
35 | check() { | 35 | check() { |
36 | cd "${pkgname}-${pkgver}" | 36 | cd "${pkgname}-${pkgver}" |
37 | go test ./... | 37 | go test -short ./... |
38 | } | 38 | } |
39 | 39 | ||
40 | package() { | 40 | package() { |