gentoo-overlay-trent/app-nvim/deoplete/deoplete-20180219-r1.ebuild

47 lines
1.1 KiB
Bash
Raw Normal View History

2018-02-19 12:51:50 -08:00
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3
DESCRIPTION="Dark powered asynchronous completion framework for neovim"
HOMEPAGE="https://github.com/Shougo/deoplete.nvim"
EGIT_REPO_URI="https://github.com/Shougo/deoplete.nvim.git"
EGIT_COMMIT="cbd884d21ddac0af7c743b4bc4b602d4585ffed9"
SRC_URI=""
KEYWORDS="~amd64 ~x86"
2018-02-23 13:51:30 -08:00
PROPERTIES="live"
2018-02-19 12:51:50 -08:00
LICENSE="MIT"
SLOT="0"
2018-02-23 13:51:30 -08:00
IUSE="+doc"
2018-02-19 12:51:50 -08:00
DEPEND=""
RDEPEND="app-editors/neovim[python]"
src_compile() {
true
}
src_install() {
insinto /usr/share/nvim/runtime
doins -r autoload
2018-02-23 13:51:30 -08:00
use doc && doins -r doc
2018-02-19 12:51:50 -08:00
doins -r plugin
doins -r rplugin
2018-02-23 13:51:30 -08:00
use doc && dodoc README.md
2018-02-19 12:51:50 -08:00
}
pkg_postinst() {
echo -n "Updating neovim (nvim) help tags..."
2018-02-23 13:51:30 -08:00
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
echo "done. "
2018-02-19 12:51:50 -08:00
}
pkg_postrm() {
echo -n "Updating neovim (nvim) help tags..."
2018-02-23 13:51:30 -08:00
/usr/bin/nvim --noplugins -u NONE -U NONE --cmd ":helptags /usr/share/nvim/runtime/doc" --cmd ":q" > /dev/null 2>&1
echo "done. "
2018-02-19 12:51:50 -08:00
}