# Packaged by: Samuel BAUER noadresszesam_at_yahoo_dot_com # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Unikey for scim - Vietnamese keyboard" HOMEPAGE="http://code.google.com/p/scim-unikey/" SRC_URI="http://scim-unikey.googlecode.com/files/scim-unikey-0.3.1.tar.gz" LICENSE="gpl" SLOT="0" KEYWORDS="x86 amd64" IUSE="" DEPEND="|| ( >=app-i18n/scim-1.4 >=app-i18n/scim-cvs-1.4 )" RDEPEND="" src_compile() { econf || die "econf failed" } src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc ABOUT-NLS COPYING AUTHORS NEWS README } pkg_postinst() { elog elog "To use SCIM with both GTK2 and XIM, you should use the following" elog "in your user startup scripts such as .gnomerc or .xinitrc:" elog elog "LANG='your_language' scim -d" elog "export XMODIFIERS=@im=SCIM" elog "export GTK_IM_MODULE=\"scim\"" elog }