# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: inherit kde-base need-kde 3.1 MY_P="bk_subway-${PV}" S=${WORKDIR}/bk_subway-${PV} DESCRIPTION="A desktop theme created with 3 fotos of the subway station \"Suedstern\" in Berlin." HOMEPAGE="http://www.barbarakaemper.de/en/wallpaper_icons_desktop_themes/kde/index_download_linux_ubahn.htm" SRC_URI="http://www.barbarakaemper.de/download/${P}.tgz" LICENSE="Artistic-2" SLOT="0" KEYWORDS="x86 ~ppc ~sparc ~alpha" DEPEND="kde-base/kdebase" 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/icons cp -R -f ${WORKDIR}/bk_subway-3.1.1/bk_berlin_subway_icons-3.1 ${D}/${KDEDIR}/share/icons mkdir -p ${D}/${KDEDIR}/share/apps/kthememgr/Themes cp -R -f ${WORKDIR}/bk_subway-3.1.1/bk_berlin_subway.ktheme ${D}/${KDEDIR}/share/apps/kthememgr/Themes mkdir -p ${D}/${KDEDIR}/share/apps/konqueror/tiles cp -R -f ${WORKDIR}/bk_subway-3.1.1/wallpaper/bk_subway_kfm_bg.jpg ${D}/${KDEDIR}/share/apps/konqueror/tiles/bk_subway_kfm_bg.jpg } pkg_postinst(){ einfo "This is a desktop theme created with 3 fotos of the subway station \"Suedstern\" in Berlin. The content file contains a KDE desktop theme, a icon set (400 icons, each icon in 3 sizes) and a background image for Konqueror file manager" einfo "" einfo "To use this theme set the following options in the" einfo "KDE Control Center:" einfo " o Appearance & Themes" einfo " - Style = \"bk_berlin_subway\"" einfo " - Icons = \"bk_berlin_subway\"" einfo "Run Konqueror file manager for the background image and choose:" einfo " o Display" einfo " - Background image = \"bk_subway_kfm_bg\"" 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" }