Based on the Rust packaging guidelines, this should have export RUSTUP_TOOLCHAIN=stable
in the prepare() and build() steps, at least while Bun is still in the AUR.
I'd also recommend running a shellcheck
over the PKGBUILD, ignoring errors about unexported variables. There's a few unquoted strings that rua's shellcheck wrapper is complaining about.
Pinned Comments
tiziodcaio commented on 2023-12-13 15:15 (UTC)
Sadly is not an issue... You can use
bun-bin
if you have not built yet. If you prefer a cleaner workflow, I can think about pulling a release of bun as a source, so then I can use that version to bring you the source-compiled version.xiota commented on 2023-11-09 12:14 (UTC)
Clean chroot. Impossible to build/install because depends on itself.