summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2012-09-01 10:46:21 +0000
committerBen de Groot <yngwin@gentoo.org>2012-09-01 10:46:21 +0000
commit705cd03822305fb83ae3cb14b0be7592d286cd32 (patch)
tree385fb80fdf8bd4c2677256d4960b3fb93dd7d56e /app-i18n/rime-data
parentInitial commit. Ebuild from gentoo-zh overlay, polished by dlan and me. (diff)
downloadgentoo-2-705cd03822305fb83ae3cb14b0be7592d286cd32.tar.gz
gentoo-2-705cd03822305fb83ae3cb14b0be7592d286cd32.tar.bz2
gentoo-2-705cd03822305fb83ae3cb14b0be7592d286cd32.zip
Initial commit. Ebuild from gentoo-zh overlay, polished by dlan and me.
(Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
Diffstat (limited to 'app-i18n/rime-data')
-rw-r--r--app-i18n/rime-data/ChangeLog9
-rw-r--r--app-i18n/rime-data/Manifest4
-rw-r--r--app-i18n/rime-data/files/Makefile25
-rw-r--r--app-i18n/rime-data/metadata.xml18
-rw-r--r--app-i18n/rime-data/rime-data-0.9.2.ebuild23
5 files changed, 79 insertions, 0 deletions
diff --git a/app-i18n/rime-data/ChangeLog b/app-i18n/rime-data/ChangeLog
new file mode 100644
index 000000000000..c5cb7639f3fa
--- /dev/null
+++ b/app-i18n/rime-data/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for app-i18n/rime-data
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/rime-data/ChangeLog,v 1.1 2012/09/01 10:46:21 yngwin Exp $
+
+*rime-data-0.9.2 (01 Sep 2012)
+
+ 01 Sep 2012; Ben de Groot <yngwin@gentoo.org> +files/Makefile, +metadata.xml,
+ +rime-data-0.9.2.ebuild:
+ Initial commit. Ebuild from gentoo-zh overlay, polished by dlan and me.
diff --git a/app-i18n/rime-data/Manifest b/app-i18n/rime-data/Manifest
new file mode 100644
index 000000000000..1206804dfb84
--- /dev/null
+++ b/app-i18n/rime-data/Manifest
@@ -0,0 +1,4 @@
+AUX Makefile 514 SHA256 69375b97ab497bda2d855bb5e074913bad7aed0d1897ed3be80b82e1b75cb5cb SHA512 868ee9feb17884078e2f6738fc1bad44d66dea43105ba71f4b5a1ed0ecf26829bbce1571cf96fd3c05a8c384044978b846174fc070b0ee8d2c7ea4c2db72a42c WHIRLPOOL 1185f12aec58ffadc051148abb02e7a49e63a78f98426515da1b590abe1a57f9ea75180ef49e99373fa2f0ac20af95ef1f804513bfabdacabc34e4cb3e61913f
+DIST rime-data-0.9.2.tar.gz 4964478 SHA256 ce50b947b95116bdc7006476fa46a55121a260257a135257d1229dedf63fc5e8 SHA512 738a3a8119971582cbfd8a3d25f58af3f13d1fc63722b429e1446033843219ec1f4725799d2b41926f8c16af06c2260e2d2409bb669e463d21b824ee5eb5f45b WHIRLPOOL 1843ca41e27da1695e73da8cb8fd83bc8a3aca0b818dac0621b546460828ce07ca6a60e04ab30c8760d35dabac0c6074998e9acd3f7e71de5e90d5fc57099de0
+EBUILD rime-data-0.9.2.ebuild 489 SHA256 e995ba154d1a28951543cf18e5123bb1d7fdc68bd64c53f8fcb799b6cc1c3bac SHA512 1a414a20bf8b9fccda574d323e7824bb86f7ecebdfb702c850285ddbb6fe417ecbf1340f845048c33917e1ab17001b355deb97d8a443ffe03f1d6ff03147a3f5 WHIRLPOOL 3a5295716e9614c828f22da4f1ce9a7873b36fccdf4da2efecd01e7ba8cae365020395a631888cdfcc353b897281259451a9a41c675d07ff8e6a4c961fa8e142
+MISC metadata.xml 550 SHA256 920e86b29ced653a5668fe43874ecb7b5488a7250794946c50a8807c7e1d04d4 SHA512 e051bdb788af3b12bb7ce24c748c5feb062fe8e4ef758e8145c3796ba102448ae0f4b066e8e41f80edec2f7a7e6104acf403d517d32de7affde108e18855f81a WHIRLPOOL 6900820e584c25ec8235ccd25056714a42c7740ffb5f75080713e305bfb3ca38fcc7bd915c228ace8a860ff585c7372d28ba66a60ed46463ead35330d6b1b5b3
diff --git a/app-i18n/rime-data/files/Makefile b/app-i18n/rime-data/files/Makefile
new file mode 100644
index 000000000000..7e34c3f90975
--- /dev/null
+++ b/app-i18n/rime-data/files/Makefile
@@ -0,0 +1,25 @@
+ifeq (${SRCDIR},)
+ SRCDIR=$(shell pwd)
+endif
+DATA:=${SRCDIR}/data
+
+ifeq (${PREFIX},)
+ PREFIX=/usr
+endif
+ifeq (${RIME_DATA_DIR},)
+ RIME_DATA_DIR=/share/rime-data
+endif
+
+all:
+ @echo "building rime data"
+ @mkdir -p ${DATA}
+ @cp default.yaml ${DATA}
+ @cp essay.kct ${DATA}
+ @cp supplement/*.yaml ${DATA}
+ @cp preset/*.yaml ${DATA}
+ rime_deployer --build ${DATA}
+
+install:
+ @echo "installing rime data"
+ @install -d ${DESTDIR}${PREFIX}${RIME_DATA_DIR}
+ @install -m 644 ${DATA}/* ${DESTDIR}${PREFIX}${RIME_DATA_DIR}
diff --git a/app-i18n/rime-data/metadata.xml b/app-i18n/rime-data/metadata.xml
new file mode 100644
index 000000000000..b0c809c038eb
--- /dev/null
+++ b/app-i18n/rime-data/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>proxy-maintainers</herd>
+ <herd>cjk</herd>
+ <maintainer>
+ <email>dennis.yxun@gmail.com</email>
+ <name>Lan Yixun (dlan)</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>chen.sst@gmail.com</email>
+ <name>Gong Chen</name>
+ </maintainer>
+ <bugs-to>http://code.google.com/p/rimeime/issues/list</bugs-to>
+ <remote-id type="google-code">rimeime</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-i18n/rime-data/rime-data-0.9.2.ebuild b/app-i18n/rime-data/rime-data-0.9.2.ebuild
new file mode 100644
index 000000000000..56bcff2e14d2
--- /dev/null
+++ b/app-i18n/rime-data/rime-data-0.9.2.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/rime-data/rime-data-0.9.2.ebuild,v 1.1 2012/09/01 10:46:21 yngwin Exp $
+
+EAPI=4
+
+inherit vcs-snapshot
+
+DESCRIPTION="Data resources for Rime Input Method Engine"
+HOMEPAGE="http://code.google.com/p/rimeime/"
+SRC_URI="https://github.com/lotem/brise/tarball/rime-${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-i18n/librime"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ cp ${FILESDIR}/Makefile ${S} || die
+}