yaycache
Flexible yay cache cleaning similar to paccache.
Usage
Usage is essentially the same as with paccache.
See man yaycache
for more information, or view the docs here.
Systemd service
An optional systemd service is included that will run weekly:
systemctl enable --now yaycache.timer
Installing
An AUR package is available:
yay -S yaycache
Building
You can build the package yourself:
./autogen.sh
./configure --prefix=/usr
make
make check
make install DESTDIR="$pkgdir"