Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages /
minio-client
Commits:
d0045b9d by Christian Heusel at 2023-10-25T11:12:39+02:00
upgpkg: 2023.10.24-2
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = minio-client
pkgdesc = Replacement for ls, cp, mkdir, diff and rsync commands for
filesystems and object storage
pkgver = 2023.10.24
- pkgrel = 1
+ pkgrel = 2
url = https://minio.io/downloads/#minio-client
install = minio-client.install
arch = x86_64
@@ -9,7 +9,7 @@ pkgbase = minio-client
makedepends = go
makedepends = git
depends = glibc
- source =
git+https://github.com/minio/mc.git#tag=RELEASE.2023-10-24T05-18-28Z
+ source =
git+https://github.com/minio/mc.git#tag=RELEASE.2023-10-24T21-42-22Z
sha512sums = SKIP
pkgname = minio-client
=====================================
PKGBUILD
=====================================
@@ -5,9 +5,9 @@
pkgname=minio-client
pkgver=2023.10.24
-_timever=T05-18-28Z
+_timever=T21-42-22Z
_pkgver="${pkgver//./-}${_timever//:/-}"
-pkgrel=1
+pkgrel=2
pkgdesc='Replacement for ls, cp, mkdir, diff and rsync commands for
filesystems and object storage'
arch=('x86_64')
url='https://minio.io/downloads/#minio-client'
@@ -23,7 +23,10 @@ build() {
export CGO_CFLAGS="${CFLAGS}"
export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CXXFLAGS="${CXXFLAGS}"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external
-mod=readonly -modcacherw"
+ export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
+ GO_LDFLAGS="\
+ -linkmode=external \
+ -compressdwarf=false"
cd mc
@@ -31,7 +34,7 @@ build() {
sed -i "s/ReleaseTag.*/ReleaseTag = \"RELEASE.${_pkgver}\"/g"
cmd/build-constants.go
sed -i "s/CommitID.*/CommitID = \"$(git rev-parse HEAD)\"/g"
cmd/build-constants.go
- go build .
+ go build -ldflags "$GO_LDFLAGS" .
}
package() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/minio-client/-/commit/d0045b9dda3ff4c4625ad0dacf304dd8947e911b
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/minio-client/-/commit/d0045b9dda3ff4c4625ad0dacf304dd8947e911b
You're receiving this email because of your account on gitlab.archlinux.org.