That's nicely done. @phinze, @vitorgalvao could we do something like that for `.pkg`s?