diff options
Diffstat (limited to 'media-fonts/hkscs-ming')
-rw-r--r-- | media-fonts/hkscs-ming/Manifest | 5 | ||||
-rw-r--r-- | media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild | 48 | ||||
-rw-r--r-- | media-fonts/hkscs-ming/metadata.xml | 8 |
3 files changed, 61 insertions, 0 deletions
diff --git a/media-fonts/hkscs-ming/Manifest b/media-fonts/hkscs-ming/Manifest new file mode 100644 index 000000000000..67f1a101bc78 --- /dev/null +++ b/media-fonts/hkscs-ming/Manifest @@ -0,0 +1,5 @@ +DIST mandrake_setup.bin 17157184 SHA256 eb48d48f6e82517aac7b7767f577050bba8bd677825b591c04d867486205933c SHA512 230466146642f3348483bbfb6a63a27dc3e76e248abb34fc5872edfa6b5b9a2a93cf8446c23f64b80bcac6c0c8a16059a8dc3945925a30815d222a6621daccb2 WHIRLPOOL 8e54fba8cb9c116d87afec362b0eebe75ef5f557751f34d7d3e9f9c5ba7ed261548bc6822840ca9bd3e084420eb4e0ce9c364e1aa85e297984bbc4bcab7c85aa +EBUILD hkscs-ming-1.0_pre20030919-r2.ebuild 1354 SHA256 654a76c855274302cdd1aaadfb5389facce65ebddf56e26a1b0dddc35752070a SHA512 3a2a420dd928253c259c9587ceda25a07a6ce78ea1f760cdcfbdeef7f9a906950b64f90510d72b3bb24159d84e235ac7bbf9fdc496eac20f1c813d1ababae890 WHIRLPOOL 6b8a9deeffba17a8093baf7f5368d93bc18a61bfcf362240a8e325220d77a6a313c4e8d222b851e31df7c102d659af2df93ead924a6614431883c99da7fa3638 +MISC ChangeLog 2465 SHA256 995588c03d24df0a8edbbff6ead807e8ec6a267dbb78b7bd7ca0bb6817a4c6c8 SHA512 7350cd9dec3395d6fc7eb57cb843bb7c57e7c35b3562422db689d674d97433e30b92365f019a1d0105c7fc229f60049cfb663f212d587aab2db3913e17b8f982 WHIRLPOOL 2f6c0a4dc5e324c21ecf4f9088c5b4c3ac9eab70e1fb7e6443ccbca90221a9378677ce7035ecd1cc4fa5cb1f4fa60cab917cecb814006a89213c73429780488a +MISC ChangeLog-2015 2380 SHA256 4ff92ab11726e4d6abd9065b620dcb8fb4d92fc0854ac97d5d74d8e050ec5089 SHA512 bc664f90e0b41d688fbdeea864547b550627fb4086a3dd96985af7ef111689b3ee4a3f3e2187d69245b66a468f26db69812cedb5c4bc87b1f0e1c60bce25e481 WHIRLPOOL e8031b5a456de1325819d7e50fc4c9ca44e6970c43c2f8c09ea11792862988bf88e005cf37fc6571780e95f60cf5c69568905105ab3298182ddec73c8b501900 +MISC metadata.xml 234 SHA256 5ee3f7d7197cf269efebe240796a0484e0bd2da3cff78e63b87c32cb4297c175 SHA512 16ea852f76297335e7ef70c8019fe09d46c0455922c049ba6e92696232e957955fd671d467ebdd0bf7837d39a26083d5be2a6f8abeba53807f0b8c5b97f2e441 WHIRLPOOL a29087cfdc7418c4dfdeffc62f80a934a759de3f014f9599dc3be9a8292c4717165dc75c1a565b4dca34479115f4ae17ddb62aa6960e93ad71e12b4c26c8040d diff --git a/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild new file mode 100644 index 000000000000..35208dfca5b2 --- /dev/null +++ b/media-fonts/hkscs-ming/hkscs-ming-1.0_pre20030919-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit rpm font + +RESTRICT="mirror strip binchecks" + +RPM_V=1.0 + +DESCRIPTION="Hong Kong Official Reference Chinese Font that implements ISO10646 & HKSCS-2001" +HOMEPAGE="http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/hkscs/" +SRC_URI="http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/mandrake_setup.bin" + +LICENSE="HKSCS-2001" +SLOT="0" +KEYWORDS="alpha ~amd64 arm ia64 ppc s390 sh sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND="" + +S=${WORKDIR} +FONT_S="${S}/usr/share/inputmethod" +FONT_SUFFIX="ttf" + +src_unpack() { + # complicated and convoluted unpack procedure + local linenumber=237 + cd "${S}"; tail -n +${linenumber} "${DISTDIR}/${A}" | tar zxvf - || die "unpack failed" + + # then we rpm_unpack the fonts package + rpm_unpack "${S}/package_mdk/imfont-${RPM_V}-0.i386.rpm" +} + +src_compile() { :; } + +pkg_postinst() { + elog "The font name installed is 'Ming(for ISO10646)'. To add make it" + elog "the default Chinese font, you should add entries to your" + elog "/etc/fonts/local.conf similar to:" + elog + elog "<alias>" + elog " <family>Luxi Sans</family>" + elog " <family>Bitstream Vera Sans</family>" + elog " <family>Ming(for ISO10646)</family>" + elog " <default><family>sans-serif</family></default>" + elog "</alias>" + elog +} diff --git a/media-fonts/hkscs-ming/metadata.xml b/media-fonts/hkscs-ming/metadata.xml new file mode 100644 index 000000000000..6f2ca22da233 --- /dev/null +++ b/media-fonts/hkscs-ming/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> +</pkgmetadata> |