1 # Author: James Burke <jrburke@gmail.com> (http://github.com/jrburke)
2 # Maintainer: jrburke <jrburke@gmail.com>
4 pkgname=nodejs-requirejs # All lowercase
7 pkgdesc="Node adapter for RequireJS, for loading AMD modules. Includes RequireJS optimizer"
9 url="http://github.com/jrburke/r.js"
12 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
13 noextract=($_npmname-$pkgver.tgz)
14 sha1sums=(7a41fd8d26b5ad81b5bfbbba3942454c54dc8bba)
17 local _npmdir="$pkgdir/usr/lib/node_modules/"
20 npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
22 # vim:set ts=2 sw=2 et: