TODO Implement post::install in xpm and revive package. Also pass the `lib`` folder, it is used by the scripts.