pkrebuild is a tool for rebuild pkg packages. It can be used for re-creating lost packages or for quick building of modified packages.