summaryrefslogtreecommitdiff
blob: f86328eaa10d1d9fb47c6d66f90468e3545a3810 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="3"

DESCRIPTION="GTK+3 3.0 theme based on the Adwaita engine"
HOMEPAGE="http://gnome-look.org/content/show.php/Drakfire+Caffe+GTK3?content=141292"
SRC_URI="http://www.deviantart.com/download/206312449/drakfire_caffe_by_drakfire86-d3etzpd.zip"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-arch/unzip"
RDEPEND="x11-themes/gnome-themes-standard"

S="${WORKDIR}"

src_prepare() {
	rm Drakfire-Caffe/metacity-1/Makefile.am \
		Drakfire-Caffe/gtk-3.0/*.css~ || die
}

src_install() {
	insinto /usr/share/themes/
	doins -r Drakfire-Caffe || die

	# Stupid workaround to make it appear in GTK+ 2.x choosers
	dodir /usr/share/themes/Drakfire-Caffe/gtk-2.0 || die
	touch "${D}"/usr/share/themes/Drakfire-Caffe/gtk-2.0/gtkrc || die
}