blob: 30fd280e4b314326204aa20e2d4d451a7fc00297 (
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
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A flat design theme for GTK 3, GTK 2 and GNOME Shell"
HOMEPAGE="https://vinceliuice.github.io/theme-matcha.html"
SRC_URI="https://github.com/vinceliuice/Matcha-gtk-theme/archive/refs/tags/2025-04-11.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
RDEPEND="
gtk2? (
x11-themes/gtk-engines-murrine
x11-themes/gtk-engines
)
"
IUSE="gtk2"
S="${WORKDIR}/Matcha-gtk-theme-2025-04-11"
src_prepare() {
default
sed -i "s|GTKSV_DIR=.*|GTKSV_DIR=\"${ED}/usr/share/gtksourceview-3.0/styles\"|" install.sh || die
}
src_install() {
dodir /usr/share/themes
./install.sh -d "${ED}/usr/share/themes/" || die "Installation failed"
}
|