From ac4b77d37f17440e8a865c7028e9f52ba19f333a Mon Sep 17 00:00:00 2001 From: vigress8 <150687949+vigress8@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:26:46 +0400 Subject: [PATCH] upd(shfmt-bin): `3.7.0` -> `3.10.0` --- packages/shfmt-bin/.SRCINFO | 17 +++++++++++++--- packages/shfmt-bin/shfmt-bin.pacscript | 27 +++++++++++++------------- srclist | 17 +++++++++++++--- 3 files changed, 41 insertions(+), 20 deletions(-) diff --git a/packages/shfmt-bin/.SRCINFO b/packages/shfmt-bin/.SRCINFO index fc28f7dfe4..d54e92d31c 100644 --- a/packages/shfmt-bin/.SRCINFO +++ b/packages/shfmt-bin/.SRCINFO @@ -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 + maintainer = vigress8 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 diff --git a/packages/shfmt-bin/shfmt-bin.pacscript b/packages/shfmt-bin/shfmt-bin.pacscript index 6c3a535962..921042f78f 100644 --- a/packages/shfmt-bin/shfmt-bin.pacscript +++ b/packages/shfmt-bin/shfmt-bin.pacscript @@ -1,23 +1,22 @@ -# __ __________ ______ -# / \ / \_____ \ / __ \ -# \ \/\/ // ____/ > < -# \ // \/ -- \ -# \__/\ / \_______ \______ / -# \/ \/ \/ -maintainer=("wizard-28 ") - 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 " "vigress8 ") 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: diff --git a/srclist b/srclist index a555ea4782..4f0a94494d 100644 --- a/srclist +++ b/srclist @@ -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 + maintainer = vigress8 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 ---