blob: f3e61622f0797fa4570308c1e4535d31e98cc719 [file] [log] [blame]
# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
inherit eutils
DESCRIPTION="The Chinese Pinyin input engine for IME extension API."
HOMEPAGE="https://code.google.com/p/google-input-tools/"
SRC_URI="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
S="${WORKDIR}/${PN}"
src_prepare() {
epatch "${FILESDIR}"/${P}-insert-public-key.patch
epatch "${FILESDIR}"/${P}-fix-permission.patch
}
src_install() {
insinto /usr/share/chromeos-assets/input_methods/pinyin
doins -r *
}