Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
shfmt


Commits:
2c7e09a6 by Christian Heusel at 2024-05-30T13:42:10+02:00
upgpkg: 3.7.0-2: Rebuild packages signed by 
56C3E775E72B0C8B1C0C1BD0B5DB77409B11B601

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,16 @@
+pkgbase = shfmt
+       pkgdesc = Format shell programs
+       pkgver = 3.7.0
+       pkgrel = 2
+       url = https://github.com/mvdan/sh
+       arch = x86_64
+       license = BSD
+       makedepends = git
+       makedepends = go
+       makedepends = scdoc
+       depends = glibc
+       options = !lto
+       source = 
shfmt-3.7.0.tar.gz::https://github.com/mvdan/sh/archive/v3.7.0.tar.gz
+       b2sums = 
5de1f5576f3e92f5cc892da730b62640b0922f879005e844b3e0b0d84a4e8f1a5f76e89c53152dd3de11c67da20411c5bddd44627ab31b66a72f950b1bf03393
+
+pkgname = shfmt


=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
 
 pkgname=shfmt
 pkgver=3.7.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Format shell programs"
 url="https://github.com/mvdan/sh";
 license=('BSD')
@@ -23,8 +23,7 @@ build() {
     export CGO_CXXFLAGS="${CXXFLAGS}"
     export CGO_LDFLAGS="${LDFLAGS}"
     export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external 
-mod=readonly -modcacherw"
-    go build -ldflags "-linkmode=external -extldflags=$LDFLAGS -X 
main.version=${pkgver}"
-
+    go build -ldflags "-linkmode=external -compressdwarf=false -extldflags 
\"${LDFLAGS}\" -X main.version=${pkgver}"
     scdoc < "${pkgname}.1.scd" | gzip > "${pkgname}.1.gz"
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/shfmt/-/commit/2c7e09a69c79da0fc7ae17229dde4364a640804f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/shfmt/-/commit/2c7e09a69c79da0fc7ae17229dde4364a640804f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to