Files
gentoo-zh/app-i18n/scim-array/scim-array-1.0.1.ebuild
T
2012-12-26 17:50:38 +08:00

38 lines
797 B
Bash

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit eutils
DESCRIPTION="Array Input Method for SCIM"
HOMEPAGE="http://scimarray.openfoundry.org/"
SRC_URI="http://of.openfoundry.org/download_path/scimarray/${PV}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~amd64"
IUSE=""
DEPEND=">=app-i18n/scim-1.4"
src_compile() {
econf || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodoc AUTHORS THANKS README
}
pkg_postinst() {
einfo
einfo "To use SCIM with both GTK2 and XIM, you should use the following"
einfo "in your user startup scripts such as .gnomerc or .xinitrc:"
einfo
einfo "LANG='your_language' scim -d"
einfo "export XMODIFIERS=@im=SCIM"
einfo
}