mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-22 03:11:30 -08:00
new file: deoplete-jedi-git/PKGBUILD
This commit is contained in:
parent
e35d64b308
commit
1f0c061415
20
deoplete-jedi-git/.SRCINFO
Normal file
20
deoplete-jedi-git/.SRCINFO
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
pkgbase = deoplete-jedi-git
|
||||||
|
pkgdesc = jedi add-on for deoplete completion plugin for neovim
|
||||||
|
pkgver = r224.715acf2
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/zchee/deoplete-jedi
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
makedepends = git
|
||||||
|
depends = deoplete-git
|
||||||
|
depends = python-jedi
|
||||||
|
depends = python2-jedi
|
||||||
|
provides = deoplete-jedi-git
|
||||||
|
conflicts = deoplete-jedi
|
||||||
|
conflicts = deoplete-jedi-git
|
||||||
|
replaces = deoplete-jedi
|
||||||
|
source = deoplete-jedi::git://github.com/zchee/deoplete-jedi
|
||||||
|
md5sums = SKIP
|
||||||
|
|
||||||
|
pkgname = deoplete-jedi-git
|
||||||
|
|
44
deoplete-jedi-git/PKGBUILD
Normal file
44
deoplete-jedi-git/PKGBUILD
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
# Maintainer: Trent Palmer trenttdually at gmail
|
||||||
|
_name='deoplete-jedi'
|
||||||
|
pkgname="${_name}-git"
|
||||||
|
pkgver=r224.715acf2
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="jedi add-on for deoplete completion plugin for neovim"
|
||||||
|
arch=('x86_64')
|
||||||
|
url="https://github.com/zchee/deoplete-jedi"
|
||||||
|
license=('MIT')
|
||||||
|
groups=()
|
||||||
|
# python-jedia pulls in python-parso
|
||||||
|
# perhaps the arch packages can be used instead of
|
||||||
|
# the git submodules?
|
||||||
|
depends=('deoplete-git' 'python-jedi' 'python2-jedi')
|
||||||
|
makedepends=('git')
|
||||||
|
provides=('deoplete-jedi-git')
|
||||||
|
conflicts=('deoplete-jedi' 'deoplete-jedi-git')
|
||||||
|
replaces=('deoplete-jedi')
|
||||||
|
backup=()
|
||||||
|
options=()
|
||||||
|
# install="${_name}.install"
|
||||||
|
source=("${_name}::${url//https/git}")
|
||||||
|
noextract=()
|
||||||
|
md5sums=('SKIP')
|
||||||
|
|
||||||
|
pkgver() {
|
||||||
|
cd "${srcdir}/${_name}"
|
||||||
|
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||||
|
}
|
||||||
|
|
||||||
|
# hack server.py so it doesn't source jedi and parso submodules
|
||||||
|
prepare() {
|
||||||
|
cd "${srcdir}/${_name}/rplugin/python3/deoplete/sources/deoplete_jedi/"
|
||||||
|
sed -i -e 's/vendored//g' server.py
|
||||||
|
}
|
||||||
|
|
||||||
|
package() {
|
||||||
|
mkdir -p "$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete"
|
||||||
|
cp -r "${srcdir}/${_name}/rplugin/python3/deoplete/sources" \
|
||||||
|
"$pkgdir/usr/share/nvim/runtime/rplugin/python3/deoplete/"
|
||||||
|
|
||||||
|
install -D -m644 "${srcdir}/${_name}/README.md" $pkgdir/usr/share/doc/$pkgname/README.md
|
||||||
|
install -D -m644 "${srcdir}/${_name}/LICENSE" $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user