blob: 27007232a16c550fa4a3547233e22585441eeac2 [file] [log] [blame]
# Copyright 2013 The ChromiumOS Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
DESCRIPTION="The Korean Hangul input engine for IME extension API"
HOMEPAGE="https://code.google.com/p/google-input-tools/"
# TODO: Change the $PF to $P.
SRC_URI="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="*"
src_prepare() {
# Removes unused NaCl binaries.
if ! use arm && ! use arm64; then
rm hangul_arm.nexe || die
fi
if ! use x86 ; then
rm hangul_x86_32.nexe || die
fi
if ! use amd64 ; then
rm hangul_x86_64.nexe || die
fi
}
src_install() {
insinto /usr/share/chromeos-assets/input_methods/hangul
doins -r *
}