inherit kde-base || die "Can't inherit kde-base!" need-kde 3.1 MY_P="ElmoIII-${PV}" S=${WORKDIR}/${MY_P} DESCRIPTION="This package provides a pixmap theme, an IceWM window decoration and a color scheme of the \"Elmo III\" design by Andreas Söllner. It attempts to be as close as possible to the original idea without genuine low level coding efforts." HOMEPAGE="http://www.kdelook.org/content/show.php?content=4886" SRC_URI="http://www.kdelook.org/content/files/4886-${MY_P}.tar.gz" LICENSE="GPL" SLOT="0" DEPEND="kde-base/kdebase" KEYWORDS="x86 ~ppc ~sparc ~alpha" src_compile(){ # nothing to compile, but don't want the eclass to try to compile anything return 0 } src_install(){ mkdir -p ${D}/${KDEDIR}/share/apps/kstyle cp -R -f ${WORKDIR}/${MY_P}/pixmaps ${D}/${KDEDIR}/share/apps/kstyle/ || die cp -R -f ${WORKDIR}/${MY_P}/themes ${D}/${KDEDIR}/share/apps/kstyle/ || die mkdir -p ${D}/${KDEDIR}/share/apps/kwin cp -R -f ${WORKDIR}/${MY_P}/icewm-themes ${D}/${KDEDIR}/share/apps/kwin || die mkdir -p ${D}/${KDEDIR}/share/apps/kdisplay cp -R -f ${WORKDIR}/${MY_P}/color-schemes ${D}/${KDEDIR}/share/apps/kdisplay || die dodoc ${WORKDIR}/${MY_P}/{CREDITS,README,CHANGELOG} } pkg_postinst(){ einfo "This theme is an IceWM pixmap theme for KDE." einfo "" einfo "To use this theme set the following options in the" einfo "KDE Control Center:" einfo " o Appearance & Themes" einfo " - Color scheme = \"elmo3\"" einfo " - Style = \"elmo3\"" einfo " - Window Decorations = \"IceWM\"" einfo " - Configuration [IceWM] = \"elmo3\"" einfo "" einfo "To make the theme visible in any currently running KDE session" einfo "execute the following command from a shell or the" einfo "KDE \"Run Command\" dialog:" einfo " kinstalltheme" }