2015-04-28 09:14:44 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2015-04-28 09:14:44 +03:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
|
|
|
MY_PN=${PN/g/G}
|
|
|
|
|
|
|
|
DESCRIPTION="The default theme from Xubuntu"
|
2015-08-24 15:08:46 +03:00
|
|
|
HOMEPAGE="http://shimmerproject.org/project/greybird/ https://github.com/shimmerproject/Greybird"
|
2015-04-28 09:14:44 +03:00
|
|
|
SRC_URI="https://github.com/shimmerproject/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
# README says "dual-licensed as GPLv2 or later and CC-BY-SA 3.0 or later"
|
|
|
|
LICENSE="CC-BY-SA-3.0 GPL-2+"
|
|
|
|
SLOT="0"
|
2015-06-28 15:57:33 +03:00
|
|
|
KEYWORDS="amd64 ~ppc ~ppc64 x86"
|
2015-04-28 09:14:44 +03:00
|
|
|
IUSE="ayatana gnome"
|
|
|
|
|
|
|
|
RDEPEND=">=x11-themes/gtk-engines-murrine-0.90"
|
|
|
|
DEPEND=""
|
|
|
|
|
|
|
|
RESTRICT="binchecks strip"
|
|
|
|
|
|
|
|
src_unpack() {
|
|
|
|
unpack ${A}
|
|
|
|
mv ${MY_PN}-* "${S}" || die
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dodoc README
|
|
|
|
rm -f README LICENSE*
|
|
|
|
|
|
|
|
insinto /usr/share/themes/${MY_PN}_compact/xfwm4
|
|
|
|
doins xfwm4_compact/*
|
|
|
|
rm -rf xfwm4_compact
|
|
|
|
|
|
|
|
use ayatana || rm -rf unity
|
|
|
|
use gnome || rm -rf metacity-1
|
|
|
|
|
|
|
|
insinto /usr/share/themes/${MY_PN}
|
|
|
|
doins -r *
|
|
|
|
}
|