AUR Package
tonydero opened this issue · 5 comments
tonydero commented
Do you have any plans to create an AUR package for trashy?
willbasky commented
There is one, not building though.
Compiling trashy v1.0.2
error: there is no argument named `table`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/list.rs:150:29
|
150 | writeln!(io::stdout(), "{table}").context("Printing table")?;
| ^^^^^^^
error: there is no argument named `humantime`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/list.rs:238:14
|
238 | format!("{humantime}")
| ^^^^^^^^^^^
error: there is no argument named `len`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/utils.rs:16:15
|
16 | println!("{len} item{plural} will be {action_name}");
| ^^^^^
error: there is no argument named `plural`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/utils.rs:16:25
|
16 | println!("{len} item{plural} will be {action_name}");
| ^^^^^^^^
error: there is no argument named `action_name`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/app/command/utils.rs:16:42
|
16 | println!("{len} item{plural} will be {action_name}");
| ^^^^^^^^^^^^^
error: there is no argument named `s`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/print.rs:6:19
|
6 | eprintln!("{} {s}", Red.bold().paint("error:"));
| ^^^
error: there is no argument named `e`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/trashy-1.0.2/src/main.rs:19:58
|
19 | Err(e) => ExitCode::Error.exit_with_msg(format!("{e:#}")),
| ^^^^^
error: failed to compile `trashy v1.0.2`, intermediate artifacts can be found at `/tmp/cargo-installRSVjLh`
Caused by:
could not compile `trashy` due to 7 previous errors
sanpii commented
@willbasky You need a more recent rustc version (>= 1.59 if I recall well).
It’s probably a good idea to set rust-version
in Cargo.toml.
oberblastmeister commented
I set the rust-version
in 0070756. @willbasky, does it work if you use the correct rust version?
tonydero commented
There is one, not building though.
Ah, there wasn't when I asked. People move quick! I was going to offer to attempt it, but I would rather have someone directly involved with the project create the AUR package personally. Better chance of it continuing to work.
willbasky commented
@sanpii thanks, an update to last version helped.
@oberblastmeister yes, thanks.