Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions binaries/starship/static.official.stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ x_exec:
#Download
case "$(uname -m)" in
aarch64)
soar dl "https://github.com/starship/starship@${PKGVER}" --match "linux,aarch64,musl,tar" --exclude "amd64,x86,x64,sha256,sha512,bsd,macos,windows" -o "${SBUILD_TMPDIR}/${PKG}.archive" --yes
soar dl "https://github.com/starship/starship@${PKGVER}" --match "linux,aarch64,musl,tar" --exclude "amd64,x86,x64,sha256,sha512,bsd,macos,apple,darwin,windows" -o "${SBUILD_TMPDIR}/${PKG}.archive" --yes
;;
x86_64)
soar dl "https://github.com/starship/starship@${PKGVER}" --match "linux,x86_64,musl,tar" --exclude "aarch,arm,i386,i686,sha256,sha512,bsd,macos,windows" -o "${SBUILD_TMPDIR}/${PKG}.archive" --yes
soar dl "https://github.com/starship/starship@${PKGVER}" --match "linux,x86_64,musl,tar" --exclude "aarch,arm,i386,i686,sha256,sha512,bsd,macos,apple,darwin,windows" -o "${SBUILD_TMPDIR}/${PKG}.archive" --yes
;;
esac
#Extract
Expand All @@ -73,4 +73,4 @@ x_exec:
} || break
done
#Copy
find "${SBUILD_TMPDIR}" -maxdepth 1 -type f -exec file -i "{}" \; | grep -Ei "application/.*executable|inode/symlink|text/x-perl|text/.*script" | cut -d":" -f1 | xargs realpath --no-symlinks | xargs -I "{}" rsync -achvL "{}" "${SBUILD_OUTDIR}/${PKG}"
find "${SBUILD_TMPDIR}" -maxdepth 1 -type f -exec file -i "{}" \; | grep -Ei "application/.*executable|inode/symlink|text/x-perl|text/.*script" | cut -d":" -f1 | xargs -I "{}" realpath --no-symlinks "{}" | xargs -I "{}" rsync -achvL "{}" "${SBUILD_OUTDIR}/${PKG}"