You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/x11-themes/papirus-icon-theme/papirus-icon-theme-99999999...

47 lines
875 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2-utils
DESCRIPTION="Papirus icon theme for GTK and KDE"
HOMEPAGE="https://git.io/papirus-icon-theme"
if [[ ${PV} == 99999999 ]];then
inherit git-r3
SRC_URI=""
KEYWORDS=""
EGIT_REPO_URI="https://github.com/PapirusDevelopmentTeam/${PN}.git"
else
SRC_URI="https://github.com/PapirusDevelopmentTeam/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~x86 ~amd64 ~arm"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_install() {
default_src_install
for size in 16x16 22x22 24x24 32x32 48x48 64x64
do
dosym firefox-aurora.svg /usr/share/icons/Papirus/${size}/apps/aurora.svg
done
}
pkg_preinst(){
gnome2_icon_savelist
}
pkg_postinst(){
gnome2_icon_cache_update
}
pkg_postrm(){
gnome2_icon_cache_update
}