gentoo-overlay-trent/app-vim/deoplete-jedi/deoplete-jedi-20181204.ebuild

40 lines
1.0 KiB
Bash
Raw Normal View History

2018-06-15 01:11:50 -07:00
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3
DESCRIPTION="deoplete-jedi"
HOMEPAGE="https://github.com/zchee/deoplete-jedi"
EGIT_REPO_URI="https://github.com/zchee/deoplete-jedi.git"
2018-12-04 14:23:30 -08:00
EGIT_COMMIT="583ee29a0a0fe6206f3f106b8866ff2b663fde74"
2018-06-15 01:11:50 -07:00
SRC_URI=""
2018-08-14 13:55:39 -07:00
KEYWORDS="~amd64 ~x86 ~arm"
2018-06-15 01:11:50 -07:00
PROPERTIES="live"
LICENSE="MIT"
SLOT="0"
IUSE="+doc"
DEPEND=""
RDEPEND="app-vim/deoplete"
src_compile() {
true
}
src_install() {
insinto /usr/share/vim/vimfiles
doins -r rplugin
use doc && dodoc README.md
find "${D}" -name ".git*" -exec rm -rf {} +
find "${D}" -name .travis.yml -exec rm -rf {} +
use doc || find "${D}" -name LICENSE.txt -exec rm -rf {} +
use doc || find "${D}" -name README.rst -exec rm -rf {} +
use doc || find "${D}" -name AUTHORS.txt -exec rm -rf {} +
use doc || find "${D}" -name README.md -exec rm -rf {} +
use doc || find "${D}" -name CHANGELOG.rst -exec rm -rf {} +
use doc || find "${D}" -name CONTRIBUTING.md -exec rm -rf {} +
}