# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit git-r3
DESCRIPTION="a Korora tweaked Gnome shell theme"
HOMEPAGE="https://kororaproject.org"

if [[ ${PV} == "9999" ]] ; then
	SRC_URI=""
	EGIT_REPO_URI="https://github.com/kororaproject/kp-gnome-shell-theme-korora.git"
	KEYWORDS=""
else
	EGIT_REPO_URI="https://github.com/kororaproject/kp-gnome-shell-theme-korora.git"
	EGIT_COMMIT="939ecff3e9e5341101b8c39895ca6c51d756f108"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="GPL-2"
SLOT="0"

DEPEND="gnome-extra/gnome-shell-extensions
	>=gnome-base/gnome-shell-3.10"
RDEPEND="${DEPEND}"

src_install() {
	insinto /usr/share/themes/Korora
	doins -r upstream/gnome-shell
}