mirror of
https://github.com/TrentSPalmer/aur-packages.git
synced 2024-11-23 19:51:29 -08:00
update nodejs-tern to version 0.24.3-2 per packaging fix
This commit is contained in:
parent
8fe10f7eb7
commit
ad69482d47
@ -1,7 +1,7 @@
|
||||
pkgbase = nodejs-tern
|
||||
pkgdesc = A JavaScript code analyzer for deep, cross-editor language support
|
||||
pkgver = 0.24.3
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = http://ternjs.net/
|
||||
arch = any
|
||||
license = MIT
|
||||
|
@ -3,7 +3,7 @@ _npmname=tern
|
||||
_npmver=0.24.3
|
||||
pkgname=nodejs-tern # All lowercase
|
||||
pkgver=0.24.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A JavaScript code analyzer for deep, cross-editor language support"
|
||||
arch=(any)
|
||||
url='http://ternjs.net/'
|
||||
@ -19,7 +19,9 @@ package() {
|
||||
local _npmdir="$pkgdir/usr/lib/node_modules/"
|
||||
mkdir -p "$_npmdir"
|
||||
cd "$_npmdir"
|
||||
npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$_npmver
|
||||
# npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$_npmver
|
||||
npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver
|
||||
chown -R root:root "${pkgdir}"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user