set dirpath in package descriptor