diff options
Diffstat (limited to 'app-i18n/scim-chinese/scim-chinese-0.2.1.ebuild')
-rw-r--r-- | app-i18n/scim-chinese/scim-chinese-0.2.1.ebuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/app-i18n/scim-chinese/scim-chinese-0.2.1.ebuild b/app-i18n/scim-chinese/scim-chinese-0.2.1.ebuild index f3697d48a761..dc19b44e2215 100644 --- a/app-i18n/scim-chinese/scim-chinese-0.2.1.ebuild +++ b/app-i18n/scim-chinese/scim-chinese-0.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-chinese/scim-chinese-0.2.1.ebuild,v 1.2 2003/06/11 00:29:51 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-chinese/scim-chinese-0.2.1.ebuild,v 1.3 2003/09/06 22:19:22 msterret Exp $ DESCRIPTION="Smart Common Input Method (SCIM) Closed Source Pinyin Input Method" HOMEPAGE="http://www.gnuchina.org/~suzhe/scim/" @@ -13,7 +13,7 @@ IUSE="" RDEPEND="virtual/x11 >=app-i18n/scim-0.4.1" - + DEPEND="${RDEPEND} app-arch/rpm" @@ -26,13 +26,13 @@ src_unpack() { src_compile() { return -} +} dosym_r() { srcdir=$1 dstdir=$2 - - for x in `find ${D}${srcdir}`; do + + for x in `find ${D}${srcdir}`; do dst=${dstdir}${x#$D$srcdir} src=${x#$D} einfo "Linking $src to $dst" @@ -41,16 +41,16 @@ dosym_r() { fi dosym $src $dst done - + } src_install() { # get installed scim version SCIM_VER=$(scim -h | grep "Smart Common Input Method" | awk '{print $5}') - + # install into /opt because this is binary-only PREFIX=/opt/scim-chinese - + cd ${S} insinto ${PREFIX}/lib/scim-1.0/Server doins usr/lib/scim-1.0/Server/* @@ -59,7 +59,7 @@ src_install() { insinto ${PREFIX}/share/scim/chinese doins usr/share/scim/chinese/* dosym_r ${PREFIX}/share/scim/chinese /usr/share/scim/chinese - + insinto /etc/gconf/schemas doins etc/gconf/schemas/* dodoc usr/share/doc/packages/scim-chinese-0.2.1/{AUTHORS,COPYING,README} |