summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornamcap <maweiqingorama@gmail.com>2016-06-27 23:52:52 +0800
committerPatrice Clement <monsieurp@gentoo.org>2016-06-28 13:30:32 +0000
commit70d4537182dae248dc48e65a043ad3faffd13fde (patch)
tree5bc27402989b09dd16642bafe6cef8e61eff2b70 /media-fonts/source-han-sans
parentmedia-video/mpv: verbump to 0.18.0. (diff)
downloadgentoo-70d4537182dae248dc48e65a043ad3faffd13fde.tar.gz
gentoo-70d4537182dae248dc48e65a043ad3faffd13fde.tar.bz2
gentoo-70d4537182dae248dc48e65a043ad3faffd13fde.zip
media-fonts/source-han-sans: *.otf does not exist
The directory containing the .otf files should be "${S}/source-han-sans-zh_TW-1.001", for example, instead of "${S}/source-han-sans-zh-TW-1.001" (zh_TW instead of zh-TW). Closes: https://github.com/gentoo/gentoo/pull/1771 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'media-fonts/source-han-sans')
-rw-r--r--media-fonts/source-han-sans/source-han-sans-1.001.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/media-fonts/source-han-sans/source-han-sans-1.001.ebuild b/media-fonts/source-han-sans/source-han-sans-1.001.ebuild
index 34828dcea144..435227ce34a4 100644
--- a/media-fonts/source-han-sans/source-han-sans-1.001.ebuild
+++ b/media-fonts/source-han-sans/source-han-sans-1.001.ebuild
@@ -28,7 +28,7 @@ RESTRICT="binchecks strip"
src_install() {
for l in ja ko zh-CN zh-TW; do
- use l10n_${l} && FONT_S="${S}/source-han-sans-${l}-${PV}" font_src_install
+ use l10n_${l} && FONT_S="${S}/source-han-sans-${l//-/_}-${PV}" font_src_install
done
dodoc source-han-sans-*-${PV}/*md source-han-sans-*-${PV}/*pdf
}