Package Details: trashy 2.0.0-2

Git Clone URL: https://aur.archlinux.org/trashy.git (read-only, click to copy)
Package Base: trashy
Description: a cli system trash manager, alternative to rm and trash-cli
Upstream URL: https://github.com/oberblastmeister/trashy
Licenses: MIT, Apache-2.0
Conflicts: trash-cli
Submitter: KokaKiwi
Maintainer: KokaKiwi
Last Packager: KokaKiwi
Votes: 11
Popularity: 0.052274
First Submitted: 2022-08-19 15:29 (UTC)
Last Updated: 2025-12-09 00:22 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

Redward commented on 2026-02-23 06:10 (UTC) (edited on 2026-02-23 06:10 (UTC) by Redward)

I am unable to update to the latest build (2.0.0) because of invalid sha256sums.

==> Making package: trashy 2.0.0-2 (Mon Feb 23 00:04:50 2026)
==> Retrieving sources...
  -> Found trashy-2.0.0.tar.gz
  -> Found Cargo.lock
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    trashy-2.0.0.tar.gz ... FAILED
    Cargo.lock ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/rw/.cache/yay/trashy
         context: exit status 1


:: (1/1) Parsing SRCINFO: trashy
==> Making package: trashy 2.0.0-2 (Mon Feb 23 00:04:51 2026)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found trashy-2.0.0.tar.gz
  -> Found Cargo.lock
==> Validating source files with sha256sums...
    trashy-2.0.0.tar.gz ... FAILED
    Cargo.lock ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error making: trashy-exit status 1
 -> Failed to install the following packages. Manual intervention is required:
trashy - exit status 1

RandomFall commented on 2024-08-28 03:30 (UTC)

Why is the binary installed as trash? The README of trashy project states the command as trashy, it's also in the man page and help text of trash -h. This is very confusing.

Aftermath commented on 2023-09-10 13:53 (UTC)

It can't download sources for a few days.

curl: (56) Recv failure: Connection timed out
==> ERROR: Failure while downloading https://static.crates.io/crates/trashy/trashy-2.0.0.crate
    Aborting...

RubixDev commented on 2022-08-31 15:28 (UTC)

Below is a patch to install the shell completions and manpage. Apply with git apply <patch_file>. Completions just don't seem to work for zsh currently, but that's a problem of trashy, not this package

diff --git a/PKGBUILD b/PKGBUILD
index c83b68d..91b0934 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,6 +27,11 @@ build() {

   CARGO_TARGET_DIR='target' \
     cargo build --frozen --release --all-features
+
+  target/release/trash completions zsh > _trash
+  target/release/trash completions bash > trash.bash
+  target/release/trash completions fish > trash.fish
+  target/release/trash manpage > trash.1
 }

 package() {
@@ -34,5 +39,10 @@ package() {

   install -Dm0755 -t "$pkgdir/usr/bin" target/release/trash

+  install -Dm644 _trash "$pkgdir/usr/share/zsh/site-functions/_trash"
+  install -Dm644 trash.bash "$pkgdir/usr/share/bash-completion/completions/trash"
+  install -Dm644 trash.fish "$pkgdir/usr/share/fish/vendor_completions.d/trash.fish"
+  install -Dm644 trash.1 "$pkgdir/usr/share/man/man1/trash.1"
+
   install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE-{APACHE,MIT}
 }