From 1c94f01e5d61bebf24849ca93c7eeb376dae4b91 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 23 Oct 2022 17:46:51 +0200 Subject: x11-themes/ubuntu-wallpapers: add 22.10.2 Closes: https://bugs.gentoo.org/877511 Signed-off-by: Pacho Ramos --- .../ubuntu-wallpapers-22.10.2.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 x11-themes/ubuntu-wallpapers/ubuntu-wallpapers-22.10.2.ebuild (limited to 'x11-themes/ubuntu-wallpapers/ubuntu-wallpapers-22.10.2.ebuild') diff --git a/x11-themes/ubuntu-wallpapers/ubuntu-wallpapers-22.10.2.ebuild b/x11-themes/ubuntu-wallpapers/ubuntu-wallpapers-22.10.2.ebuild new file mode 100644 index 000000000000..42a449c95f43 --- /dev/null +++ b/x11-themes/ubuntu-wallpapers/ubuntu-wallpapers-22.10.2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Ubuntu wallpapers" +HOMEPAGE="https://launchpad.net/ubuntu/+source/ubuntu-wallpapers" +MY_P="${PN}_${PV}" +SRC_URI="mirror://ubuntu/pool/main/u/${PN}/${MY_P}.orig.tar.gz" + +# Review COPYING file for updates +LICENSE="CC-BY-SA-3.0" + +KEYWORDS="~amd64 ~arm ~x86" +IUSE="" + +RDEPEND="" +DEPEND="" +BDEPEND="" + +S="${WORKDIR}/${MY_P/_/-}" + +SLOT="0" + +src_compile() { :; } +src_test() { :; } + +src_install() { + insinto /usr/share/backgrounds + doins *.jpg *.png + + insinto /usr/share/backgrounds/contest + doins contest/*.xml + + for i in *.xml.in; do + sed -i 's/_name/name/g' ${i} + insinto /usr/share/gnome-background-properties + newins ${i} ${i/.in/} + done + + einstalldocs +} -- cgit v1.2.3-65-gdbad