From ad60bfeae3dadee282d147fe499f8ba22193aa99 Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Sun, 24 Dec 2017 21:15:39 -0800 Subject: [PATCH] begin deoplete-git --- deoplete-git/.SRCINFO | 19 +++++++++++++++++++ deoplete-git/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ deoplete-git/deoplete.install | 3 +++ 3 files changed, 57 insertions(+) create mode 100644 deoplete-git/.SRCINFO create mode 100644 deoplete-git/PKGBUILD create mode 100644 deoplete-git/deoplete.install diff --git a/deoplete-git/.SRCINFO b/deoplete-git/.SRCINFO new file mode 100644 index 0000000..3038de7 --- /dev/null +++ b/deoplete-git/.SRCINFO @@ -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 + diff --git a/deoplete-git/PKGBUILD b/deoplete-git/PKGBUILD new file mode 100644 index 0000000..ea96937 --- /dev/null +++ b/deoplete-git/PKGBUILD @@ -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}" +} diff --git a/deoplete-git/deoplete.install b/deoplete-git/deoplete.install new file mode 100644 index 0000000..dc67240 --- /dev/null +++ b/deoplete-git/deoplete.install @@ -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."