> > > > > "${pkg}.install" || die > > > done > > > } > > > > > > opam_src_install() { > > > opam-install "${PN}" > > > # Handle opam putting doc in a subdir > > > if [ -d "${ED}/usr/share/doc/${PF}/${PN}" ] ; then > > > > Is PN always the correct subdirectory here? > > yes because opam-install is called for $PN only here
and guess what: $PN is not always the proper package name...