Anyway, there's better software out there. Distrobox is a suitable alternative.
Do you frequently test software but forget to uninstall it, or want to use software without it adding or removing files from your system? This script creates a chroot for you to test software from the AUR in.
Use your preferred AUR helper to install pactest-git
paru -S pactest-git
Setup chroot
pactest -s
Install software in chroot
pactest -i example
Execute software in chroot
pactest -x example
Delete chroot
pactest -d
Chroot into chroot
pactest -c