correct license installation directory

This commit is contained in:
Trent Palmer 2017-12-25 11:30:02 -08:00
parent 84556ef2b5
commit 20357870cb
2 changed files with 10 additions and 2 deletions

View File

@ -30,6 +30,9 @@ package() {
cp -r "${srcdir}/${_name}/"{autoload,doc,plugin,rplugin} \
"$pkgdir/usr/share/nvim/site"
mkdir -p "$pkgdir/usr/share/doc/${pkgname}"
cp -r "${srcdir}/${_name}/"{README.md,LICENSE} \
cp "${srcdir}/${_name}/"README.md \
"$pkgdir/usr/share/doc/${pkgname}"
mkdir -p "$pkgdir/usr/share/licenses/${pkgname}"
cp "${srcdir}/${_name}/"LICENSE \
"$pkgdir/usr/share/licenses/${pkgname}"
}

View File

@ -12,7 +12,7 @@ post_install() {
should be executed manually in order to enable auto-completion."
echo ""
echo " you might need to add the following to your init.vim:
echo " you might need to add the following to your init.vim/vimrc:
\"let g:deoplete#enable_at_startup = 1\""
echo ""
}
@ -23,4 +23,9 @@ post_upgrade() {
post_remove() {
update_helptag
echo ""
echo " you might need to remove the following to your init.vim/vimrc:
\"let g:deoplete#enable_at_startup = 1\""
echo ""
}