# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: DESCRIPTION="Murrine MetaCity Theme" HOMEPAGE="http://gnomethemes.org/?p=52" THEME_URI="http://www.kernow-webhosting.com/~bvc/theme/mcity/" SRC_URI="${THEME_URI}Murrine.tar.gz" SLOT="1" LICENSE="GPL-2" KEYWORDS="x86 ppc sparc amd64 hppa" IUSE="" RDEPEND="x11-wm/metacity" src_install() { dodir /usr/share/themes cd ${D}/usr/share/themes unpack ${A} find . -exec touch "{}" \; for dir in * do # Fix directory names that contain spaces if echo "${dir}" | egrep -q "[[:space:]]" then new_dir=`echo "${dir}" | sed -e 's: :_:g'` mv "${dir}" $new_dir dir=$new_dir fi if [ ! -d ${dir}/metacity-1 ] then mkdir tmp mv ${dir}/* tmp mv tmp ${dir}/metacity-1 fi done chmod -R ugo=rX * }