Link Here
|
1 |
# Copyright 1999-2014 Gentoo Foundation |
1 |
# Copyright 1999-2014 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-translations/cinnamon-translations-2.2.4.ebuild,v 1.1 2014/11/11 12:36:58 pacho Exp $ |
3 |
# $Header: |
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
Link Here
|
22 |
RESTRICT="test" # tests are for upstream translators and need network access |
22 |
RESTRICT="test" # tests are for upstream translators and need network access |
23 |
|
23 |
|
24 |
src_prepare() { |
24 |
src_prepare() { |
25 |
l10n_find_plocales_changes "${S}/mo-export" "" "" |
25 |
l10n_find_plocales_changes "${S}/po-export" "" "" |
26 |
epatch_user |
26 |
epatch_user |
27 |
} |
27 |
} |
28 |
|
28 |
|
29 |
src_configure() { :; } |
29 |
src_configure() { :; } |
30 |
|
30 |
|
31 |
src_compile() { :; } |
|
|
32 |
|
33 |
src_install() { |
31 |
src_install() { |
34 |
install_locale() { |
32 |
install_locale() { |
35 |
# Cinnamon components use LOCALEDIR=$datadir/cinnamon/locale |
33 |
# Cinnamon components use LOCALEDIR=$datadir/cinnamon/locale |
36 |
dodir "/usr/share/cinnamon/locale" |
34 |
dodir "/usr/share/locale" |
37 |
insinto "/usr/share/cinnamon/locale" |
35 |
insinto "/usr/share/locale" |
38 |
doins -r "mo-export/${1}" |
36 |
doins -r "usr/share/locale/${1}" |
39 |
} |
37 |
} |
40 |
l10n_for_each_locale_do install_locale |
38 |
l10n_for_each_locale_do install_locale |
41 |
} |
39 |
} |