I already have a hook to delete old cached packages using paccache every time pacman is run. It leaves maximum 3 releases of each package in cache.
This behaviour is good but I have a few huge packages (for example texlive-fontsextra and texlive-core using together 1,6 GB) for which I don't want to keep so many old releases.
Is there a way to tell paccache to keep only 1 release for these specific packages and 3 for the others?
I have tried
paccache -rk1 texlive, without success.