blob: 2b8b698b1b1180f184c80b1689676511cc32bdcb [file] [log] [blame]
# Copyright 2013 The ChromiumOS Authors
# 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="*"
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 *
}