Source

lxde-overlay / x11-themes / shiki-colors / shiki-colors-4.6.ebuild

Full commit
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/shiki-colors/shiki-colors-4.6.ebuild,v 1.1 2010/03/14 13:46:29 pacho Exp $

EAPI=2

DESCRIPTION="Shiki-Colors mixes the elegance of a dark theme with the usability of a light theme"
HOMEPAGE="http://code.google.com/p/gnome-colors/"

SRC_URI="http://gnome-colors.googlecode.com/files/${P}.tar.gz
	http://dev.gentoo.org/~pacho/Shiki-Gentoo-${PV}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+openbox metacity"

RDEPEND="openbox? ( x11-themes/shiki-colors-openbox )
	metacity? ( || ( x11-wm/metacity xfce-base/xfwm4 ) )
	x11-themes/gtk-engines"
DEPEND=""
RESTRICT="binchecks strip"

src_compile() {
	einfo "Nothing to compile"
}

src_install() {
	use !metacity && rm -rf "${WORKDIR}"/Shiki-Colors*
	dodir /usr/share/themes
	insinto /usr/share/themes
	doins -r "${WORKDIR}"/Shiki* || die "Installing themes failed"
	dodoc AUTHORS ChangeLog README
}