build pkg