diff --git a/mvaurpkg.hook b/mvaurpkg.hook new file mode 100644 index 0000000..c2f1217 --- /dev/null +++ b/mvaurpkg.hook @@ -0,0 +1,10 @@ +[Trigger] +Type=Package +Operation=Install +Operation=Upgrade +Target=* + +[Action] +Description=Moving completed AUR packages... +When=PostTransaction +Exec=/usr/bin/sh -c "find /var/lib/pacman/aur \( -name '*.pkg.tar.zst' -o -name '*.pkg.tar.xz' \) -exec mv '{}' /var/cache/pacman/aur \;"