aboutsummaryrefslogtreecommitdiff
path: root/x11-themes/matcha-gtk-theme/matcha-gtk-theme-20250411.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/matcha-gtk-theme/matcha-gtk-theme-20250411.ebuild')
-rw-r--r--x11-themes/matcha-gtk-theme/matcha-gtk-theme-20250411.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-themes/matcha-gtk-theme/matcha-gtk-theme-20250411.ebuild b/x11-themes/matcha-gtk-theme/matcha-gtk-theme-20250411.ebuild
new file mode 100644
index 0000000..30fd280
--- /dev/null
+++ b/x11-themes/matcha-gtk-theme/matcha-gtk-theme-20250411.ebuild
@@ -0,0 +1,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"
+}