Date: Tuesday, May 19, 2020 @ 04:34:52 Author: svenstaro Revision: 629779
upgpkg: minio-client 2020.05.16-1 Modified: minio-client/trunk/PKGBUILD ----------+ PKGBUILD | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-05-19 04:31:38 UTC (rev 629778) +++ PKGBUILD 2020-05-19 04:34:52 UTC (rev 629779) @@ -2,8 +2,8 @@ # Contributor: Dhananjay Balan <[email protected]> pkgname=minio-client -pkgver=2020.05.06 -_timever=T18:00:07Z +pkgver=2020.05.16 +_timever=T01:44:37Z _pkgver="${pkgver//./-}${_timever//:/-}" pkgrel=1 pkgdesc='Replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage' @@ -10,7 +10,7 @@ arch=('x86_64') url='https://minio.io/downloads/#minio-client' license=('Apache') -makedepends=('go-pie' 'git') +makedepends=('go' 'git') depends=('glibc') install=minio-client.install source=(git+https://github.com/minio/mc.git#tag=RELEASE.${_pkgver}) @@ -18,7 +18,10 @@ build() { export CGO_LDFLAGS="${LDFLAGS}" - export GOFLAGS="-trimpath" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw" cd mc
