leonidas-backgrounds-11.0.0.2-r1.ebuild 869 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit versionator rpm
  5. SRC_PATH=development/15/source/SRPMS
  6. FEDORA=12
  7. MY_P="${PN}-$(get_version_component_range 1-3)"
  8. DESCRIPTION="Fedora official background artwork"
  9. HOMEPAGE="https://fedoraproject.org/wiki/F11_Artwork"
  10. SRC_URI="mirror://fedora-dev/${SRC_PATH}/${PN}-$(replace_version_separator 3 -).fc${FEDORA}.src.rpm"
  11. LICENSE="CC-BY-SA-2.0"
  12. KEYWORDS="~amd64 ~x86"
  13. IUSE=""
  14. RDEPEND="!x11-themes/fedora-backgrounds:11"
  15. DEPEND=""
  16. S="${WORKDIR}/${MY_P}"
  17. SLOT="0"
  18. src_unpack() {
  19. rpm_src_unpack
  20. unpack ./${MY_P}.tar.lzma
  21. }
  22. src_compile() { :; }
  23. src_test() { :; }
  24. src_install() {
  25. dodoc Credits
  26. insinto /usr/share/backgrounds/leonidas
  27. doins -r leonidas* landscape lion
  28. insinto /usr/share/gnome-background-properties
  29. doins desktop-*.xml
  30. }