mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-22 06:57:59 +02:00
36 lines
737 B
Bash
36 lines
737 B
Bash
# Copyright 1999-2024 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"
|
|
|
|
S="${WORKDIR}/${MY_P}.orig"
|
|
|
|
# Review COPYING file for updates
|
|
LICENSE="CC-BY-SA-3.0"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm x86"
|
|
|
|
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
|
|
}
|