generate pkginfo contents