shfmt-git r20250915.b717ad59-2

This commit is contained in:
2025-09-21 20:51:59 +03:00
parent b816656b22
commit c9601db948

View File

@@ -1,14 +1,36 @@
name='shfmt-git'
version='r20250915.b717ad59'
release='1'
desc='A shell formatter. Supports POSIX Shell, Bash, and mksh.'
release='2'
desc='A shell formatter. Supports POSIX Shell, Bash, and mksh (Git-version)'
desc_ru='Форматировщик скриптов оболочки с поддержкой POSIX Shell, Bash и mksh (Git-версия)'
homepage='https://github.com/patrickvane/shfmt'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('BSD-3-Clause license')
provides=('shfmt')
conflicts=('shtmt')
deps=('glibc')
deps_alt=('glibc')
deps_arch=('glibc')
deps_debian=('libc6')
deps_fedora=("${deps[@]}")
deps_redos=("${deps_fedora[@]}")
deps_rhel=("${deps_fedora[@]}")
deps_rosa=("${deps_fedora[@]}")
deps_alpine=('musl')
build_deps=('go')
build_deps_alt=('go')
build_deps_arch=('go')
build_deps_debian=('golang-go')
build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps_fedora[@]}")
build_deps_rhel=("${build_deps_fedora[@]}")
build_deps_rosa=("${build_deps_fedora[@]}")
build_deps_alpine=('go')
sources=("git+https://github.com/patrickvane/shfmt.git")
checksums=('SKIP')
@@ -25,3 +47,6 @@ build() {
package() {
install -Dm755 "$srcdir/shfmt/cmd/shfmt/shfmt" "${pkgdir}/usr/bin/shfmt"
}
files() {
files-find-bin
}