I used yaourt to successfully build and install an AUR package, unfortunately missing the fact that in its default configuration the built package is removed after installation. Since the build took around 24 hours and having the package available for later might be useful, is there any way to reconstruct the package from the installed binaries instead of having to makepkg it again? Or more generally, since this is not necessarily yaourt-tied:

How to retrieve a makepkg generated package from the installation and source without having to recompile?