commit:     22b27d89c73646e3e92b19eee0c2395786760d23
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Jun 16 09:30:44 2024 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sun Jun 16 09:30:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=22b27d89

x11-themes/candy-icons: new package, add 9999

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 x11-themes/candy-icons/candy-icons-9999.ebuild | 29 ++++++++++++++++++++++++++
 x11-themes/candy-icons/metadata.xml            | 11 ++++++++++
 2 files changed, 40 insertions(+)

diff --git a/x11-themes/candy-icons/candy-icons-9999.ebuild 
b/x11-themes/candy-icons/candy-icons-9999.ebuild
new file mode 100644
index 000000000..b75497b56
--- /dev/null
+++ b/x11-themes/candy-icons/candy-icons-9999.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit git-r3 xdg-utils
+
+DESCRIPTION="🍭 Sweet gradient icons"
+HOMEPAGE="https://github.com/EliverLara/candy-icons";
+EGIT_REPO_URI="https://github.com/EliverLara/candy-icons.git";
+
+LICENSE="GPL-3"
+SLOT="0"
+
+src_install() {
+       default
+
+       insinto "/usr/share/icons/${PN}"
+       rm -rf "${S}"/{.git,.github,preview}
+       doins -r "${S}"/*
+}
+
+pkg_postinst() {
+       xdg_icon_cache_update
+}
+
+pkg_postrm() {
+       xdg_icon_cache_update
+}

diff --git a/x11-themes/candy-icons/metadata.xml 
b/x11-themes/candy-icons/metadata.xml
new file mode 100644
index 000000000..98f363424
--- /dev/null
+++ b/x11-themes/candy-icons/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Gasc Henri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">EliverLara/candy-icons</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to