cinnamon-translations-3.0.3.ebuild 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. PLOCALES="af am an ar as ast az be be@latin bg bn bn_IN br bs ca ca@valencia crh cs csb cy da de dz el en@shaw en_AU en_CA en_GB eo es es_AR et eu fa fi fil fo fr fr_CA frp fy ga gd gl gu he hi hr hu hy ia id ii is it ja jv ka kk km kn ko ksw ku ky la li lo lt lv mai mg mk ml mn mr ms my nb nds ne nl nn nso oc om or pa pap pl ps pt pt_BR ro ru rue rw sa sc sco shn si sk sl so sq sr sr@ijekavianlatin sr@latin sv sw ta te tg th tl tlh tpi tr ts tt ug uk ur uz uz@cyrillic vi wa xh yi zh_CN zh_HK zh_TW zu"
  5. inherit l10n
  6. DESCRIPTION="Translation data for Cinnamon"
  7. HOMEPAGE="http://cinnamon.linuxmint.com/"
  8. SRC_URI="https://github.com/linuxmint/cinnamon-translations/archive/${PV}.tar.gz -> ${P}.tar.gz"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="amd64 x86"
  12. IUSE=""
  13. DEPEND=""
  14. RDEPEND=""
  15. RESTRICT="test" # tests are for upstream translators and need network access
  16. src_configure() { :; }
  17. src_install() {
  18. # Cannot run before since locales are not in the expected place for this to work
  19. l10n_find_plocales_changes "${S}"/usr/share/locale "" ""
  20. install_locale() {
  21. dodir /usr/share/locale
  22. insinto /usr/share/locale
  23. doins -r usr/share/locale/${1}
  24. }
  25. l10n_for_each_locale_do install_locale
  26. }