- Use cargo to follow framework options more closely, this also allows including more utilities - Use multi binary as it substantially reduces install size and allows better overall optimization This drops shell completions but it shouldn't be much work enabling again by adapting the helper script and using cargo PR: 269832 Reviewed by: pkubaj (maintainer)
2 lines
306 B
Bash
2 lines
306 B
Bash
#!/bin/sh
|
|
for i in $(%%GREP%% -o '".*"' %%CARGO_TARGET_DIR%%/%%CARGO_BUILD_TARGET%%/*/build/coreutils-*/out/uutils_map.rs | %%SED%% 's/"//g'| %%SED%% 's/$/ /g'| %%TR%% -d '\n'| %%TR%% -d '\r'); do %%RLN%% %%STAGEDIR%%%%PREFIX%%/bin/%%BINPREFIX%%coreutils %%STAGEDIR%%%%PREFIX%%/bin/%%BINPREFIX%%${i}; done
|