You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-themes/zuki-themes/zuki-themes-3.32.2.ebuild

50 lines
1.1 KiB

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eapi7-ver
MY_PV="$(ver_rs 2 -)"
DESCRIPTION="Zuki themes for GTK, gnome-shell and more"
HOMEPAGE="https://github.com/lassekongo83/zuki-themes"
SRC_URI="https://github.com/lassekongo83/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="gnome-shell mate xfce"
RDEPEND="
>=x11-themes/gnome-themes-standard-3.6
>=x11-themes/gtk-engines-murrine-0.98.1.1
gnome-shell? ( media-fonts/roboto )
!<x11-themes/zukitwo-2016.08.08
!<x11-themes/zukitwo-shell-2016.08.08
"
DEPEND=""
S="${WORKDIR}/${PN}-${MY_PV}"
src_configure() { :; }
src_compile() { :; }
src_install() {
insinto /usr/share/themes/Zukitre
doins -r Zukitre/{index.theme,gtk-2.0,gtk-3.0}
use xfce && doins -r Zukitre/xfwm4
insinto /usr/share/themes/Zukitwo
doins -r Zukitwo/{index.theme,gtk-2.0,gtk-3.0}
use mate && doins -r Zukitwo/metacity-1
use xfce && doins -r Zukitwo/xfwm4
if use gnome-shell ; then
insinto /usr/share/themes
doins -r Zuki-shell
fi
default
}