1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Gentoo - 10 Years Compiling Background Artwork"
7 HOMEPAGE="https://www.gentoo.org/inside-gentoo/artwork/"
9 SRC_URI="https://dev.gentoo.org/~flameeyes/${P}.tar.xz"
11 LICENSE="CC-BY-SA-3.0"
12 KEYWORDS="amd64 ~mips x86"
16 DEPEND="app-arch/xz-utils"
23 sed -i -e "s:/usr/:${EPREFIX}/usr/:" *.xml || die
31 insinto /usr/share/backgrounds/gentoo10
32 doins -r {purple,blue,red}.xml netbook standard wide wider || die
34 insinto /usr/share/gnome-background-properties
35 doins desktop-*.xml || die
38 for color in purple blue red; do
39 insinto /usr/share/wallpapers/Gentoo10_${color}
40 newins gentoo10-${color}-metadata.desktop metadata.desktop
42 dodir /usr/share/wallpapers/Gentoo10_${color}/contents/images
43 for file in */*/${color}.jpg; do
44 dosym ../../../../backgrounds/gentoo10/"${file}" /usr/share/wallpapers/Gentoo10_${color}/contents/images/"$(basename "$(dirname "${file}")")".jpg