summaryrefslogtreecommitdiff
path: root/x11-themes/papirus-icon-theme/papirus-icon-theme-20230104.ebuild
blob: 4460fa17b1f795ed72ea6ef94901fcae462cca3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit xdg

DESCRIPTION="Free and open source SVG icon theme"
HOMEPAGE="https://github.com/PapirusDevelopmentTeam/papirus-icon-theme"
SRC_URI="https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"

src_prepare() {
	default
	# https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/issues/3241
	cd Papirus/128x128/apps/ || die
	ln -s beneath-a-steel-sky.svg bass.svg || die
}

src_compile() { :; }

src_install() {
	insinto /usr/share/icons
	doins -r Papirus{,-Dark,-Light}

	# Install variants designed for elementary OS and Pantheon Desktop only
	doins -r ePapirus{,-Dark}
}