Diff papirus-icon-theme-20181120-r2 with a papirus-icon-theme-20230801

/usr/portage/x11-themes/papirus-icon-theme/papirus-icon-theme-20230801.ebuild 2023-10-09 14:52:35.992368514 +0300
1
# Copyright 1999-2018 Gentoo Foundation
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=6
4
EAPI=8
5
inherit xdg
5 6

  
6
inherit gnome2-utils
7

  
8
DESCRIPTION="Papirus icon theme for GTK and KDE"
9
HOMEPAGE="https://git.io/papirus-icon-theme"
10

  
11
if [[ ${PV} == 99999999 ]];then
12
	inherit git-r3
13
	SRC_URI=""
14
	KEYWORDS=""
15
	EGIT_REPO_URI="https://github.com/PapirusDevelopmentTeam/${PN}.git"
16
else
17
	SRC_URI="https://github.com/PapirusDevelopmentTeam/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
18
	KEYWORDS="x86 amd64 ~arm"
19
fi
7
DESCRIPTION="Free and open source SVG icon theme"
8
HOMEPAGE="https://github.com/PapirusDevelopmentTeam/papirus-icon-theme"
9
SRC_URI="https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/${PV}.tar.gz -> ${P}.tar.gz"
20 10

  
21 11
LICENSE="GPL-3"
22 12
SLOT="0"
23
IUSE=""
24

  
25
DEPEND=""
26
RDEPEND="${DEPEND}"
27

  
28
src_prepare() {
29
	default_src_prepare
30
	cd $S
31
	for size in 16x16 22x22 24x24
32
	do
33
		rm -f Papirus/$size/panel/clementine-panel{,-grey}.svg
34
	done
35
}
36

  
37
src_install() {
38
	default_src_install
39
	for size in 16x16 22x22 24x24 32x32 48x48 64x64
40
	do
41
		dosym firefox-aurora.svg /usr/share/icons/Papirus/${size}/apps/aurora.svg
42
	done
43
}
44

  
45
pkg_preinst(){
46
	gnome2_icon_savelist
47
}
48

  
49
pkg_postinst(){
50
	gnome2_icon_cache_update
51
}
13
KEYWORDS="amd64 arm64 ppc64 x86"
52 14

  
53
pkg_postrm(){
54
	gnome2_icon_cache_update
55
}
15
src_compile() { :; }
Thank you!