Gentoo-Bug: 602750
Package-Manager: Portage-2.3.3, Repoman-2.3.1
S=${WORKDIR}/Docs/Qt-$(get_version_component_range 1-2)
+src_prepare() {
+ default
+
+ # bug 597026
+ rm -r global || die
+
+ # bug 602750
+ rm Makefile || die
+}
+
src_install() {
# ${PV} instead of ${PF} is intentional
local dest=/usr/share/doc/qt-${PV%%_p*}
insinto "${dest}"
doins -r *
docompress -x "${dest}"
-
- # these files are not shipped in any other version of qt-docs and collide with qtcore
- # bug 597026
- rm -rf "${ED}${dest}"/global || die
}