2019-01-08 14:57:54 -08:00
|
|
|
# Maintainer: John D Jones III jnbek1972 __AT__ $mailservice_by_google __DOT__ com
|
|
|
|
_npmname=tern
|
2019-05-31 12:49:07 -07:00
|
|
|
_npmver=0.24.0
|
2019-01-08 14:57:54 -08:00
|
|
|
pkgname=nodejs-tern # All lowercase
|
2019-05-31 12:49:07 -07:00
|
|
|
pkgver=0.24.0
|
2019-01-08 14:57:54 -08:00
|
|
|
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)
|
2019-05-31 12:49:07 -07:00
|
|
|
sha512sums=('55060fbc852d5a6f84140490736980686eebcf1770243bb66a114419faaaea2e82a4d9c1e39e0a0ca5a9ccc6d90c88f3f7e088139143ac5b0461c8e2cbb698ad')
|
2019-01-08 14:57:54 -08:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
|
|
|
|