vdr-channel-logos-0.2-r1.ebuild 657 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils
  5. MY_P=${PN#vdr-channel-}-${PV}
  6. DESCRIPTION="Logos for vdr-skin*"
  7. HOMEPAGE="http://www.vdrskins.org/"
  8. SRC_URI="http://www.vdrskins.org/vdrskins/albums/userpics/10138/${MY_P}.tar.gz"
  9. LICENSE="fairuse"
  10. SLOT="0"
  11. KEYWORDS="~x86 ~amd64"
  12. IUSE=""
  13. S=${WORKDIR}/logos
  14. RDEPEND="app-text/convmv"
  15. src_prepare() {
  16. convmv --notest --replace -f iso-8859-1 -t utf-8 -r "${S}"/
  17. }
  18. src_install() {
  19. insinto /usr/share/vdr/channel-logos
  20. find -maxdepth 1 -name "*.xpm" -print0|xargs -0 cp -a --target="${D}/usr/share/vdr/channel-logos/"
  21. }