Skip to content

Commit

Permalink
upd(shfmt-bin): 3.7.0 -> 3.10.0 (#6579)
Browse files Browse the repository at this point in the history
  • Loading branch information
vigress8 authored Oct 21, 2024
1 parent be7898d commit d42b272
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 20 deletions.
17 changes: 14 additions & 3 deletions packages/shfmt-bin/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
pkgbase = shfmt-bin
gives = shfmt
pkgver = 3.7.0
pkgver = 3.10.0
pkgdesc = Format shell programs
url = https://github.com/mvdan/sh
arch = amd64
arch = arm64
arch = armhf
arch = i386
breaks = shfmt
breaks = shfmt-git
breaks = shfmt-bin
breaks = shfmt-deb
breaks = shfmt-app
maintainer = wizard-28 <[email protected]>
maintainer = vigress8 <[email protected]>
repology = project: shfmt
source = https://github.com/mvdan/sh/releases/download/v3.7.0/shfmt_v3.7.0_linux_amd64
sha256sums = 0264c424278b18e22453fe523ec01a19805ce3b8ebf18eaf3aadc1edc23f42e3
source_amd64 = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_amd64
sha256sums_amd64 = 1f57a384d59542f8fac5f503da1f3ea44242f46dff969569e80b524d64b71dbc
source_arm64 = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_arm64
sha256sums_arm64 = 9d23013d56640e228732fd2a04a9ede0ab46bc2d764bf22a4a35fb1b14d707a8
source_armhf = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_arm
sha256sums_armhf = 493c612d8f07ad60b3030bd84d7870cca2dc87e0fb06d2fdd93b2264460668db
source_i386 = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_i386
sha256sums_i386 = a49ee3616afd262796e6791711ba62759d424cc85808390a5ac516af8001aa72

pkgname = shfmt-bin
27 changes: 13 additions & 14 deletions packages/shfmt-bin/shfmt-bin.pacscript
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
# __ __________ ______
# / \ / \_____ \ / __ \
# \ \/\/ // ____/ > <
# \ // \/ -- \
# \__/\ / \_______ \______ /
# \/ \/ \/
maintainer=("wizard-28 <[email protected]>")

pkgname="shfmt-bin"
gives="shfmt"
pkgver="3.7.0"
source=("https://github.com/mvdan/sh/releases/download/v${pkgver}/shfmt_v${pkgver}_linux_amd64")
pkgver="3.10.0"
pkgdesc="Format shell programs"
url='https://github.com/mvdan/sh'
breaks=("${gives}" "${gives}-git" "${gives}-bin" "${gives}-deb" "${gives}-app")
sha256sums=("0264c424278b18e22453fe523ec01a19805ce3b8ebf18eaf3aadc1edc23f42e3")
arch=('amd64')
maintainer=("wizard-28 <[email protected]>" "vigress8 <[email protected]>")
repology=("project: ${gives}")
arch=('amd64' 'arm64' 'armhf' 'i386')
source_amd64=("${url}/releases/download/v${pkgver}/shfmt_v${pkgver}_linux_amd64")
source_arm64=("${url}/releases/download/v${pkgver}/shfmt_v${pkgver}_linux_arm64")
source_armhf=("${url}/releases/download/v${pkgver}/shfmt_v${pkgver}_linux_arm")
source_i386=("${url}/releases/download/v${pkgver}/shfmt_v${pkgver}_linux_i386")
sha256sums_amd64=("1f57a384d59542f8fac5f503da1f3ea44242f46dff969569e80b524d64b71dbc")
sha256sums_arm64=("9d23013d56640e228732fd2a04a9ede0ab46bc2d764bf22a4a35fb1b14d707a8")
sha256sums_armhf=("493c612d8f07ad60b3030bd84d7870cca2dc87e0fb06d2fdd93b2264460668db")
sha256sums_i386=("a49ee3616afd262796e6791711ba62759d424cc85808390a5ac516af8001aa72")

package() {
cd "${_archive}"
install -Dm755 "shfmt_v${pkgver}_linux_amd64" "${pkgdir}/usr/bin/${gives}"
install -Dm755 "shfmt_v${pkgver}_linux_"* "${pkgdir}/usr/bin/${gives}"
}
# vim:set ft=sh ts=2 sw=2 et:
17 changes: 14 additions & 3 deletions srclist
Original file line number Diff line number Diff line change
Expand Up @@ -9387,18 +9387,29 @@ pkgname = shellharden
---
pkgbase = shfmt-bin
gives = shfmt
pkgver = 3.7.0
pkgver = 3.10.0
pkgdesc = Format shell programs
url = https://github.com/mvdan/sh
arch = amd64
arch = arm64
arch = armhf
arch = i386
breaks = shfmt
breaks = shfmt-git
breaks = shfmt-bin
breaks = shfmt-deb
breaks = shfmt-app
maintainer = wizard-28 <[email protected]>
maintainer = vigress8 <[email protected]>
repology = project: shfmt
source = https://github.com/mvdan/sh/releases/download/v3.7.0/shfmt_v3.7.0_linux_amd64
sha256sums = 0264c424278b18e22453fe523ec01a19805ce3b8ebf18eaf3aadc1edc23f42e3
source_amd64 = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_amd64
sha256sums_amd64 = 1f57a384d59542f8fac5f503da1f3ea44242f46dff969569e80b524d64b71dbc
source_arm64 = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_arm64
sha256sums_arm64 = 9d23013d56640e228732fd2a04a9ede0ab46bc2d764bf22a4a35fb1b14d707a8
source_armhf = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_arm
sha256sums_armhf = 493c612d8f07ad60b3030bd84d7870cca2dc87e0fb06d2fdd93b2264460668db
source_i386 = https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_i386
sha256sums_i386 = a49ee3616afd262796e6791711ba62759d424cc85808390a5ac516af8001aa72

pkgname = shfmt-bin
---
Expand Down

0 comments on commit d42b272

Please sign in to comment.