x11-themes/gartoon: Port to EAPI 8

Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
Jakov Smolić
2021-10-21 12:21:41 +02:00
parent 5b43997b3c
commit 9a1aee3f2e

View File

@@ -1,11 +1,12 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=8
DESCRIPTION="Gartoon SVG icon theme"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="mirror://gentoo/${P}.tar.gz"
S="${WORKDIR}/${PN}"
LICENSE="GPL-2"
KEYWORDS="amd64 ~ppc sparc ~x86"
@@ -13,13 +14,12 @@ SLOT="0"
RESTRICT="binchecks strip"
S=${WORKDIR}/${PN}
pkg_setup() {
mydest="/usr/share/icons/${PN}"
}
src_prepare() {
default
sed -i \
-e "s:\(^pixmap_path\) \(\".*\"$\):\1 \"${mydest}/scalable/stock\":" \
scalable/stock/iconrc || die