Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
minio-client


Commits:
6dab17ec by Christian Heusel at 2024-04-18T23:34:27+02:00
upgpkg: 2024.04.18-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = minio-client
        pkgdesc = Replacement for ls, cp, mkdir, diff and rsync commands for 
filesystems and object storage
-       pkgver = 2024.03.30
+       pkgver = 2024.04.18
        pkgrel = 1
        url = https://minio.io/downloads/#minio-client
        install = minio-client.install
@@ -10,7 +10,7 @@ pkgbase = minio-client
        makedepends = git
        depends = glibc
        options = !lto
-       source = 
git+https://github.com/minio/mc.git#tag=RELEASE.2024-03-30T15-29-52Z
-       sha512sums = 
b48ce71f0815a82caa3a8a624793e8cb0a7c1825282d9803dfb806c1e51e28c8ecf22141b14efde17df23c962efb069c11701f05f1de109d9e82be469730c37a
+       source = 
git+https://github.com/minio/mc.git#tag=RELEASE.2024-04-18T16-45-29Z
+       sha512sums = 
dc4d204ce96d2e4b7d9957ba4ed1a11844a2f28df5e451b0a66ab7a2cda5d72660788422c0f30a03201e2789b16d719a1d5f863eb226b6516bce538064c29d36
 
 pkgname = minio-client


=====================================
PKGBUILD
=====================================
@@ -4,8 +4,8 @@
 # Contributor: Dhananjay Balan <m...@dbalan.in>
 
 pkgname=minio-client
-pkgver=2024.03.30
-_timever=T15-29-52Z
+pkgver=2024.04.18
+_timever=T16-45-29Z
 _pkgver="${pkgver//./-}${_timever//:/-}"
 pkgrel=1
 pkgdesc='Replacement for ls, cp, mkdir, diff and rsync commands for 
filesystems and object storage'
@@ -17,9 +17,11 @@ depends=('glibc')
 options=(!lto)
 install=minio-client.install
 source=(git+https://github.com/minio/mc.git#tag=RELEASE.${_pkgver})
-sha512sums=('b48ce71f0815a82caa3a8a624793e8cb0a7c1825282d9803dfb806c1e51e28c8ecf22141b14efde17df23c962efb069c11701f05f1de109d9e82be469730c37a')
+sha512sums=('dc4d204ce96d2e4b7d9957ba4ed1a11844a2f28df5e451b0a66ab7a2cda5d72660788422c0f30a03201e2789b16d719a1d5f863eb226b6516bce538064c29d36')
 
 build() {
+  cd mc
+
   export CGO_LDFLAGS="${LDFLAGS}"
   export CGO_CFLAGS="${CFLAGS}"
   export CGO_CPPFLAGS="${CPPFLAGS}"
@@ -27,13 +29,8 @@ build() {
   export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
   GO_LDFLAGS="\
       -linkmode=external \
-      -compressdwarf=false"
-
-  cd mc
-
-  sed -i "s/Version.*/Version = \"${pkgver//./-}${_timever}\"/g" 
cmd/build-constants.go
-  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
+      -compressdwarf=false \
+      $(go run buildscripts/gen-ldflags.go)"
 
   go build -ldflags "$GO_LDFLAGS" .
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/minio-client/-/commit/6dab17ec5753d4c43f0ffdb47f3ead41716f3b82

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/minio-client/-/commit/6dab17ec5753d4c43f0ffdb47f3ead41716f3b82
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to