--- pygtk-2.10.3.ebuild.orig 2007-01-02 13:00:32.000000000 +0000 +++ pygtk-2.10.3-r1.ebuild 2007-01-02 13:01:51.000000000 +0000 @@ -6,8 +6,10 @@ DESCRIPTION="GTK+2 bindings for Python" HOMEPAGE="http://www.pygtk.org/" + +DOC_FILE="pygtk2reference-2.9.0.tar.bz2" SRC_URI="${SRC_URI} - doc? ( http://www.pygtk.org/dist/pygtk2reference.tbz2 )" + doc? ( mirror://gnome/sources/pygtk2reference/2.9/${DOC_FILE} )" LICENSE="LGPL-2.1" SLOT="2" @@ -35,7 +37,7 @@ src_unpack() { unpack ${A} if use doc; then - unpack pygtk2reference.tbz2 + unpack ${DOC_FILE} fi # disable pyc compiling @@ -57,9 +59,7 @@ cp -r examples ${D}/usr/share/doc/${PF}/ if use doc; then - cd "${S}"/../ - dodir /usr/share/gtk-doc/html - cp -pPR pygtk2reference ${D}/usr/share/gtk-doc/html/ + cp -r ${WORKDIR}/pygtk2reference/{cursors,icons,images} ${D}/usr/share/gtk-doc/html/pygtk/ fi }