Diff papirus-icon-theme-20230901 with a papirus-icon-theme-99999999

/var/lib/layman/calculate/x11-themes/papirus-icon-theme/papirus-icon-theme-99999999.ebuild 2018-11-22 12:36:26.000000000 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2018 Gentoo Foundation
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

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

  
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"
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
10 20

  
11 21
LICENSE="GPL-3"
12 22
SLOT="0"
13
KEYWORDS="amd64 arm64 ppc64 x86"
23
IUSE=""
24

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

  
28
src_install() {
29
	default_src_install
30
	for size in 16x16 22x22 24x24 32x32 48x48 64x64
31
	do
32
		dosym firefox-aurora.svg /usr/share/icons/Papirus/${size}/apps/aurora.svg
33
	done
34
}
35

  
36
pkg_preinst(){
37
	gnome2_icon_savelist
38
}
39

  
40
pkg_postinst(){
41
	gnome2_icon_cache_update
42
}
14 43

  
15
src_compile() { :; }
44
pkg_postrm(){
45
	gnome2_icon_cache_update
46
}
Thank you!