summaryrefslogtreecommitdiff
path: root/x11-themes/zukitwo-brave/zukitwo-brave-0.1.ebuild
blob: 6b1678b8d6ab157881c9f0dcca50e4625820ef56 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

DESCRIPTION="Zukitwo-Brave Rogentos theme"
HOMEPAGE="http://rogentos.ro"
SRC_URI="http://bpr.bluepink.ro/~rogentos/distro/${CATEGORY}/${PN}.tar.gz
	http://pkg.rogentos.ro/~rogentos/distro/${CATEGORY}/${PN}.tar.gz
	https://buildserver.rogentos.ro/~rogentos/distro/${CATEGORY}/${PN}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~arm ~amd64 ~x86"
IUSE="gtk3 gtk2 gnome-shell unity cinnamon xfwm4"

RDEPEND="gtk3? ( x11-themes/gtk-engines-unico )
	>=x11-themes/gtk-engines-murrine-0.98.1.1
	x11-themes/gtk-engines"
DEPEND=""

Z="Zukitwo-Brave"
S="${WORKDIR}"/${Z}/
THEME="/usr/share/themes"

src_install() {
	dodir ${THEME}/${Z} || die
	insinto ${THEME}/${Z} || die
	doins "${S}"/index.theme || die

	if use gtk3; then
		doins -r "${S}"/gtk-3.0 || die "Cannot copy gtk3"
	else
	ewarn "Gtk3 Files weren't copied"
	fi

	if use gtk2; then
		doins -r "${S}"/gtk-2.0/ || die "Cannot copy gtk2"
	else
	ewarn "Gtk2 Files were not copied"
	fi

	if use gnome-shell; then
		doins -r "${S}"/gnome-shell || die "Cannot copy gnome-shell"
	else
	ewarn "Gnome-shell Files were not copied"
	fi

	if use cinnamon; then
		doins -r "${S}"/cinnamon || die "Cannot copy cinnamon"
	else
	ewarn "Cinnamon Files were not copied"
	fi

	if use unity; then
		doins -r "${S}"/unity || die "Cannot copy unity"
	else
	ewarn "Unity Files were not copied"
	fi

	if use xfwm4; then
		doins -r "${S}"/xfwm4 || die "Cannot copy xfwm"
	else
	ewarn "Xfwm Files were not copied"
        fi
}