begin deoplete-git

This commit is contained in:
Trent Palmer 2017-12-24 21:15:39 -08:00
commit ad60bfeae3
3 changed files with 57 additions and 0 deletions

19
deoplete-git/.SRCINFO Normal file
View File

@ -0,0 +1,19 @@
pkgbase = deoplete-git
pkgdesc = deoplete completion plugin for neovim
pkgver = 3.0.r91.g5c84f5b
pkgrel = 1
url = https://github.com/Shougo/deoplete.nvim
install = deoplete.install
arch = x86_64
license = MIT
makedepends = git
depends = python-neovim
provides = deoplete-git
conflicts = deoplete
conflicts = deoplete-git
replaces = deoplete
source = deoplete::git://github.com/Shougo/deoplete.nvim
md5sums = SKIP
pkgname = deoplete-git

35
deoplete-git/PKGBUILD Normal file
View File

@ -0,0 +1,35 @@
# Maintainer: Trent Palmer trenttdually at gmail
_name='deoplete'
pkgname="${_name}-git"
pkgver=3.0.r91.g5c84f5b
pkgrel=1
pkgdesc="deoplete completion plugin for neovim"
arch=('x86_64')
url="https://github.com/Shougo/deoplete.nvim"
license=('MIT')
groups=()
depends=('python-neovim')
makedepends=('git')
provides=('deoplete-git')
conflicts=('deoplete' 'deoplete-git')
replaces=('deoplete')
backup=()
options=()
install="${_name}.install"
source=("${_name}::${url//https/git}")
noextract=()
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_name}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
mkdir -p "$pkgdir/usr/share/nvim/site"
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} \
"$pkgdir/usr/share/doc/${pkgname}"
}

View File

@ -0,0 +1,3 @@
echo "Note: Python3 must be enabled before updating remote plugins
If Deoplete was installed prior to Python support being added to Neovim, :UpdateRemotePlugins
should be executed manually in order to enable auto-completion."