1 # Author: Tom de Grunt <tom@degrunt.nl>
2 # Contributor: Tom de Grunt <tom@degrunt.nl>
3 # Contributor: BenjamÃn Eidelman
4 # Contributor: Samyak Bhuta
5 # Maintainer: tdegrunt <tom@degrunt.nl>
7 pkgname=nodejs-mongodb-rest # All lowercase
10 pkgdesc="REST API Server for MongoDB"
12 url="http://github.com/tdegrunt/mongodb-rest"
15 makedepends=(nodejs-npm)
16 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
17 noextract=($_npmname-$pkgver.tgz)
18 sha1sums=(119ec2761a19c3a87b6c1120020aebae75dc44eb)
21 local _npmdir="$pkgdir/usr/lib/node_modules/"
24 npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
26 # vim:set ts=2 sw=2 et: