[arch-commits] Commit in fluxctl/trunk (PKGBUILD)
Christian Rebischke
shibumi at archlinux.org
Sat Jun 13 02:27:41 UTC 2020
Date: Saturday, June 13, 2020 @ 02:27:41
Author: shibumi
Revision: 642687
upgpkg: fluxctl 1.19.0-1 change go build flags
Modified:
fluxctl/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-13 01:51:06 UTC (rev 642686)
+++ PKGBUILD 2020-06-13 02:27:41 UTC (rev 642687)
@@ -2,16 +2,16 @@
pkgname=fluxctl
_pkgname=flux
-pkgver=1.18.0
+pkgver=1.19.0
pkgrel=1
pkgdesc="Controller for the GitOps Kubernetes operator flux"
arch=('x86_64')
url="https://github.com/fluxcd/flux"
license=('Apache')
-makedepends=('go-pie' 'git')
+makedepends=('go' 'git')
depends=('glibc')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/fluxcd/flux/archive/${pkgver}.tar.gz")
-sha512sums=('9973f71b0afd8c410ad561988759c068e7cd969445db1c71c1e1d835bf385fe075e94a7537e7eca307b0f8dc316369344e932f369df5a724e611581ae005cbb4')
+sha512sums=('4bd71a78ac5931d25b964b8a5afe0c7ede65277b247ffb1629792d7e48d9896c3920966b9765a8e018d1a7361042544e364eff80d5fe145a4305a8d786c93bfb')
changelog=CHANGELOG.md
build(){
@@ -18,6 +18,9 @@
cd "${_pkgname}-${pkgver}/cmd/fluxctl"
go build \
-trimpath \
+ -mod=readonly \
+ -modcacherw \
+ -buildmode=pie \
-ldflags "-w -X main.version="${pkgver}" -extldflags ${LDFLAGS}" .
chmod +x ./fluxctl
}
More information about the arch-commits
mailing list