aboutsummaryrefslogtreecommitdiff
blob: 0e02d7038b50fc43277834a0789589e01f0547c9 (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="Dark-Glass"
DESCRIPTION="Dark Glass Theme for Gnome-Shell"
HOMEPAGE="http://half-left.deviantart.com/art/GNOME-Shell-Dark-Glass-Git-192828345"
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
}