diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild')
-rw-r--r-- | x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild b/x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild new file mode 100644 index 000000000000..1e71574ad87d --- /dev/null +++ b/x11-themes/gentoo10-backgrounds/gentoo10-backgrounds-20110309.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Gentoo - 10 Years Compiling Background Artwork" +HOMEPAGE="https://www.gentoo.org/inside-gentoo/artwork/" + +SRC_URI="https://dev.gentoo.org/~flameeyes/${P}.tar.xz" + +LICENSE="CC-BY-SA-3.0" +KEYWORDS="amd64 ~mips x86" +IUSE="" + +RDEPEND="" +DEPEND="app-arch/xz-utils" + +S="${WORKDIR}/${PN}" + +SLOT="0" + +src_prepare() { + sed -i -e "s:/usr/:${EPREFIX}/usr/:" *.xml || die +} + +src_compile() { :; } +src_test() { :; } + +src_install() { + + insinto /usr/share/backgrounds/gentoo10 + doins -r {purple,blue,red}.xml netbook standard wide wider || die + + insinto /usr/share/gnome-background-properties + doins desktop-*.xml || die + + # KDE wallpapers + for color in purple blue red; do + insinto /usr/share/wallpapers/Gentoo10_${color} + newins gentoo10-${color}-metadata.desktop metadata.desktop + + dodir /usr/share/wallpapers/Gentoo10_${color}/contents/images + for file in */*/${color}.jpg; do + dosym ../../../../backgrounds/gentoo10/"${file}" /usr/share/wallpapers/Gentoo10_${color}/contents/images/"$(basename "$(dirname "${file}")")".jpg + done + done +} |