blob: 57ca4b356a203011ab51eb86a6433f9a35a8b00f (
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
|
# 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 gnome-shell
mv gnome-shell/gnome-shell.css gnome-shell/theme.css
insinto /usr/share/themes/${MY_PN}
doins -r gnome-shell || die "doins failed"
insinto /usr/share/themes/${MY_PN}/gnome-shell
doins "${FILESDIR}"/metadata.json
popd &>/dev/null
}
|