better pkg build