Merge branch 'master' of github.com:TrentSPalmer/aur-packages

This commit is contained in:
Trent Palmer 2019-01-10 13:50:59 -08:00
commit 958676e67b
5 changed files with 46 additions and 5 deletions

View File

@ -1,5 +1,6 @@
### Where are we Dorothy?
my own Arch Linux PKGBUILDS, some of which are forks, and some of which are inspired
Stash of Arch Linux PKGBUILDS, some of which are forks, some of which are inspired,
and also some which are updates to outdated AUR packages.
### Live Git PKGBUILD tip
If you want to modify a PKGBUILDS to pull a particular commit, you can edit

View File

@ -1,7 +1,7 @@
pkgbase = deoplete-ternjs-git
pkgdesc = javascript add-on for deoplete completion plugin for neovim
pkgver = r93.185b011
pkgrel = 1
pkgrel = 2
url = https://github.com/carlitux/deoplete-ternjs
arch = any
license = MIT

View File

@ -11,7 +11,7 @@ _neovim="n"
_name='deoplete-ternjs'
pkgname="${_name}-git"
pkgver=r93.185b011
pkgrel=1
pkgrel=2
pkgdesc="javascript add-on for deoplete completion plugin for neovim"
arch=('any')
url="https://github.com/carlitux/deoplete-ternjs"
@ -37,13 +37,13 @@ pkgver() {
package() {
if [ "$_neovim" = "y" ]; then
mkdir -p "$pkgdir/usr/share/nvim/runtime"
cp -r "${srcdir}/${_name}/"{plugin,rplugin} \
cp -r "${srcdir}/${_name}/"{plugin,rplugin,autoload} \
"$pkgdir/usr/share/nvim/runtime"
fi
if [ "$_vim" = "y" ]; then
mkdir -p "$pkgdir/usr/share/vim/vimfiles"
cp -r "${srcdir}/${_name}/"{plugin,rplugin} \
cp -r "${srcdir}/${_name}/"{plugin,rplugin,autoload} \
"$pkgdir/usr/share/vim/vimfiles"
fi

15
nodejs-tern/.SRCINFO Normal file
View File

@ -0,0 +1,15 @@
pkgbase = nodejs-tern
pkgdesc = A JavaScript code analyzer for deep, cross-editor language support
pkgver = 0.23.0
pkgrel = 1
url = http://ternjs.net/
arch = any
license = MIT
depends = nodejs
depends = npm
noextract = tern-0.23.0.tgz
source = http://registry.npmjs.org/tern/-/tern-0.23.0.tgz
sha1sums = 35d76bc910c3d1cb053b9db879cdeb5b39421b9b
pkgname = nodejs-tern

25
nodejs-tern/PKGBUILD Normal file
View File

@ -0,0 +1,25 @@
# Maintainer: John D Jones III jnbek1972 __AT__ $mailservice_by_google __DOT__ com
_npmname=tern
_npmver=0.23.0
pkgname=nodejs-tern # All lowercase
pkgver=0.23.0
pkgrel=1
pkgdesc="A JavaScript code analyzer for deep, cross-editor language support"
arch=(any)
url='http://ternjs.net/'
license=('MIT')
depends=('nodejs' 'npm')
optdepends=()
source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$_npmver.tgz)
noextract=($_npmname-$_npmver.tgz)
sha1sums=('35d76bc910c3d1cb053b9db879cdeb5b39421b9b')
package() {
cd "$srcdir"
local _npmdir="$pkgdir/usr/lib/node_modules/"
mkdir -p "$_npmdir"
cd "$_npmdir"
npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$_npmver
}