mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-12-25 13:42:50 -08:00
new package deoplete-ternjs-git
This commit is contained in:
parent
23dd81e571
commit
0612ddd2cd
17
deoplete-ternjs-git/.SRCINFO
Normal file
17
deoplete-ternjs-git/.SRCINFO
Normal file
@ -0,0 +1,17 @@
|
||||
pkgbase = deoplete-ternjs-git
|
||||
pkgdesc = javascript add-on for deoplete completion plugin for neovim
|
||||
pkgver = r91.4b62760
|
||||
pkgrel = 1
|
||||
url = https://github.com/carlitux/deoplete-ternjs
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = git
|
||||
depends = deoplete-git
|
||||
depends = nodejs-tern
|
||||
provides = deoplete-ternjs
|
||||
conflicts = deoplete-ternjs
|
||||
source = git+https://github.com/carlitux/deoplete-ternjs
|
||||
md5sums = SKIP
|
||||
|
||||
pkgname = deoplete-ternjs-git
|
||||
|
52
deoplete-ternjs-git/PKGBUILD
Normal file
52
deoplete-ternjs-git/PKGBUILD
Normal file
@ -0,0 +1,52 @@
|
||||
# Maintainer: Trent Palmer trenttdually at gmail
|
||||
|
||||
###########################################################################################################
|
||||
# Build Options
|
||||
###########################################################################################################
|
||||
_vim="y"
|
||||
|
||||
_neovim="n"
|
||||
###########################################################################################################
|
||||
|
||||
_name='deoplete-ternjs'
|
||||
pkgname="${_name}-git"
|
||||
pkgver=r91.4b62760
|
||||
pkgrel=1
|
||||
pkgdesc="javascript add-on for deoplete completion plugin for neovim"
|
||||
arch=('any')
|
||||
url="https://github.com/carlitux/deoplete-ternjs"
|
||||
license=('MIT')
|
||||
groups=()
|
||||
depends=('deoplete-git' 'nodejs-tern') # nodejs-tern is available in the aur
|
||||
makedepends=('git')
|
||||
provides=('deoplete-ternjs')
|
||||
conflicts=('deoplete-ternjs')
|
||||
replaces=()
|
||||
backup=()
|
||||
options=()
|
||||
source=('git+https://github.com/carlitux/deoplete-ternjs') # deoplete-ternjs
|
||||
|
||||
noextract=()
|
||||
md5sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${srcdir}/${_name}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
package() {
|
||||
if [ "$_neovim" = "y" ]; then
|
||||
mkdir -p "$pkgdir/usr/share/nvim/runtime"
|
||||
cp -r "${srcdir}/${_name}/"{plugin,rplugin} \
|
||||
"$pkgdir/usr/share/nvim/runtime"
|
||||
fi
|
||||
|
||||
if [ "$_vim" = "y" ]; then
|
||||
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
|
||||
cp -r "${srcdir}/${_name}/"{plugin,rplugin} \
|
||||
"$pkgdir/usr/share/vim/vimfiles"
|
||||
fi
|
||||
|
||||
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