mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-22 03:11:30 -08:00
update nodejs-tern to 0.23.0
This commit is contained in:
parent
62f3273ae3
commit
c029e85f91
15
.SRCINFO
Normal file
15
.SRCINFO
Normal 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
PKGBUILD
Normal file
25
PKGBUILD
Normal 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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user