gentoo-ebuilds/x11-themes/fedora-backgrounds/fedora-backgrounds-32.2.2.ebuild
Pacho Ramos 972993beca
x11-themes/fedora-backgrounds: Fix VariableOrderWrong warning
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
2024-08-27 10:24:48 +02:00

25 lines
648 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A set of default and supplemental wallpapers for Fedora"
HOMEPAGE="https://github.com/fedoradesign/backgrounds"
MY_PN="f$(ver_cut 1)-backgrounds"
MY_P="${MY_PN}-${PV}"
SRC_URI="https://github.com/fedoradesign/backgrounds/releases/download/v${PV}/${MY_P}.tar.xz"
S="${WORKDIR}/${MY_PN}"
# Review on each bump, files Attribution*
LICENSE="CC-BY-SA-4.0"
SLOT="$(ver_cut 1)"
KEYWORDS="amd64 x86"
src_install() {
default
# Don't change default MATE background
rm "${ED}"/usr/share/backgrounds/mate/default.xml || die
}