summaryrefslogtreecommitdiff
blob: 0181f375c5a43ddb308aa31b9e0504f7d1c5d2f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/experience/experience-3.03.ebuild,v 1.7 2010/02/24 14:30:07 ssuominen Exp $

DESCRIPTION="GTK+2 themes which copy and improve the look of XP Luna"
HOMEPAGE="http://art.gnome.org/themes/gtk2/1058"
SRC_URI="http://art.gnome.org/download/themes/gtk2/1058/GTK2-EXperience.tar.gz"

KEYWORDS="~ppc sparc x86 ~amd64"
LICENSE="GPL-2"
SLOT="0"
IUSE=""

DEPEND=""
RDEPEND="x11-themes/gtk-engines-experience"

src_unpack() {
	unpack ${A}

	cd "${WORKDIR}"
	mv "eXperience - ice" eXperience-ice
	mv "eXperience - olive" eXperience-olive

	# Don't install index files, since this package doesn't provide the icon
	# set. Remove cruft files also.
	find . -name '*~' | xargs rm -f
	find . -name index.theme | xargs rm -f
}

src_compile() {
	return 0
}

src_install() {
	cd "${WORKDIR}"
	for dir in eXperience* ; do
		insinto "/usr/share/themes/${dir}"
		doins -r ${dir}/*
	done

	dodoc eXperience/README
}