New build method for pkg files