This follows from my previous commit to the golang-vcs.eclass.
${EGO_PN%/*} should be replaced with ${EGO_PN%/...} since we only want
to strip off "/..." from the end of the path.
ego_pn_check
set -- ${A}
x="$1"
- mkdir -p "${WORKDIR}/${P}/src/${EGO_PN%/*}" || die
- tar -C "${WORKDIR}/${P}/src/${EGO_PN%/*}" -x --strip-components 1 \
+ mkdir -p "${WORKDIR}/${P}/src/${EGO_PN%/...}" || die
+ tar -C "${WORKDIR}/${P}/src/${EGO_PN%/...}" -x --strip-components 1 \
-f "${DISTDIR}/${x}" || die
}