smlinux/base/shellcheck-bin/shellcheck-bin.SMBuild

26 lines
No EOL
688 B
Text
Executable file

app=shellcheck-bin
version=0.8.0
build=1sml
homepage="https://github.com/koalaman/shellcheck"
download="https://github.com/koalaman/shellcheck/releases/download/stable/shellcheck-stable.linux.$arch.tar.xz"
desc="Static Binary Of CLI Shell script analyzer"
requires="musl"
build() {
mkandenterbuilddir
rm -rf shellcheck-bins
tar xf $srcdir/shellcheck-bins.tar.?z*
cd shellcheck-bins
fixbuilddirpermissions
install -Dm 755 shellcheck.$arch $pkg/bin/shellcheck
cp LICENSE.txt $pkgdocs/
mkfinalpkg
}
sha512sums="
8913b4318a6bbce94db8952f84d61e103554ccd67ec25ff2165f6891db6f7572f5331677fdc314d7190a7a6a2ef979ee52e11d588e491e9ea3098f1e0dd565e8 shellcheck-bins.tar.lz
"