unicode-data-9.0.0.ebuild 793 B

1234567891011121314151617181920212223242526272829303132
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. DESCRIPTION="Unicode data from unicode.org"
  5. HOMEPAGE="http://www.unicode.org/ucd/"
  6. SRC_URI="http://www.unicode.org/Public/zipped/${PV}/UCD.zip -> ${P}-UCD.zip
  7. http://www.unicode.org/Public/zipped/${PV}/Unihan.zip -> ${P}-Unihan.zip"
  8. LICENSE="unicode"
  9. SLOT="0"
  10. KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
  11. IUSE=""
  12. DEPEND="app-arch/unzip"
  13. RDEPEND=""
  14. S="${WORKDIR}"
  15. src_unpack() {
  16. # Unihan.zip needs to be installed as a zip for reverse deps
  17. # https://bugzilla.gnome.org/show_bug.cgi?id=768210
  18. unpack ${P}-UCD.zip
  19. }
  20. src_install() {
  21. insinto /usr/share/${PN}
  22. doins -r "${S}"/*
  23. newins "${DISTDIR}"/${P}-Unihan.zip Unihan.zip
  24. }