1 # Maintainer : Immae <ismael.bouya@normalesup.org>
4 pkgname=nodejs-$_npmname
7 pkgdesc="A command line utility that caches dependencies installed via npm."
9 url="http://gruntjs.com/"
11 depends=('nodejs' 'npm')
12 source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
13 noextract=($_npmname-$pkgver.tgz)
14 sha256sums=('760e27c4e8737e82461ad0b4e54f3dbeb95f33a5d66a8e240bdb68bb488b5701')
15 options=('!emptydirs')
18 local _npmdir="$pkgdir/usr/lib/node_modules/"
22 npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver