# Copyright 2026 illogician <illogician@tutamail.com>
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit xdg-utils

DESCRIPTION="A set of symbolic icons for Gtk applications and projects"
HOMEPAGE="https://github.com/xapp-project/xapp-symbolic-icons"
SRC_URI="https://github.com/xapp-project/xapp-symbolic-icons/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3 LGPL-3"
SLOT="0"
KEYWORDS="amd64"

DEPEND=""

src_unpack() {
	default
}

src_install() {
	insinto "/usr/share/icons/hicolor/symbolic/actions/"
	doins -r ${WORKDIR}/${P}/icons/symbolic/*
}

pkg_postinst() {
        xdg_icon_cache_update
}

pkg_postrm() {
        xdg_icon_cache_update
}