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

EAPI="3"
inherit base

MY_PN="Elementary"
DESCRIPTION="Elementary Theme for Gnome-Shell"
HOMEPAGE="http://half-left.deviantart.com/art/GNOME-Shell-Elementary-Git-193232931"
SRC_URI="${PN}.zip"

LICENSE=""
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RESTRICT="fetch"

RDEPEND="~gnome-base/gnome-shell-9999"
DEPEND="app-arch/unzip"

pkg_nofetch() {
	einfo "Please download the ${SRC_URI} from"
	einfo "${HOMEPAGE}"
	einfo "and place it in ${DISTDIR}"
}

src_install() {
	pushd "${WORKDIR}" &>/dev/null
	mv theme ${MY_PN}
	insinto /usr/share/gnome-shell/themes
	doins -r ${MY_PN} || die "doins failed"
	insinto /usr/share/gnome-shell/themes/${MY_PN}
	doins "${FILESDIR}"/metadata.json
	popd &>/dev/null
}