alr переименование

This commit is contained in:
2024-05-05 14:44:01 +03:00
parent 08abb1d5f6
commit 5a34f223c3
32 changed files with 0 additions and 0 deletions

27
shfmt-git/alr.sh Normal file
View File

@ -0,0 +1,27 @@
name='shfmt-git'
version='3241.08049c8'
release='1'
desc='A shell formatter. Supports POSIX Shell, Bash, and mksh.'
homepage='https://github.com/patrickvane/shfmt'
maintainer="Евгений Храмов <xpamych@yandex.ru>"
architectures=('all')
license=('BSD-3-Clause license')
provides=('shfmt')
conflicts=('shtmt')
sources=("git+https://github.com/patrickvane/shfmt.git")
checksums=('SKIP')
version() {
cd "$srcdir/${provides}"
git-version
}
build() {
cd "$srcdir/shfmt/cmd/shfmt"
go build
}
package() {
install -Dm755 "$srcdir/shfmt/cmd/shfmt/shfmt" "${pkgdir}/usr/bin/shfmt"
}