common/hooks/pre-pkg: new hook that generates a binpkg.
common/hooks/post-pkg: need hook that registers a binpkg into the local repo.