mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-11 02:07:30 +00:00
Merge pull request #2267 from tomalexander/add_git_build_dep
This commit is contained in:
commit
83de469967
1 changed files with 2 additions and 2 deletions
4
.github/aur/flux-scm/PKGBUILD.template
vendored
4
.github/aur/flux-scm/PKGBUILD.template
vendored
|
|
@ -11,7 +11,7 @@ license=("APACHE")
|
|||
provides=("flux-bin")
|
||||
conflicts=("flux-bin")
|
||||
depends=("glibc")
|
||||
makedepends=('go>=1.17', 'kustomize>=3.0')
|
||||
makedepends=('go>=1.17', 'kustomize>=3.0', 'git')
|
||||
optdepends=('bash-completion: auto-completion for flux in Bash',
|
||||
'zsh-completions: auto-completion for flux in ZSH')
|
||||
source=(
|
||||
|
|
@ -32,7 +32,7 @@ build() {
|
|||
export CGO_CXXFLAGS="$CXXFLAGS"
|
||||
export CGO_CPPFLAGS="$CPPFLAGS"
|
||||
export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
|
||||
make cmd/flux/manifests
|
||||
make cmd/flux/.manifests.done
|
||||
go build -ldflags "-linkmode=external -X main.VERSION=${pkgver}" -o ${_srcname} ./cmd/flux
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue