updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / nodejs-mongodb-rest / PKGBUILD
blobcd6381f9c34d7093a24c39c783a0f9690bd9655e
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>
6 _npmname=mongodb-rest
7 pkgname=nodejs-mongodb-rest # All lowercase
8 pkgver=0.9.0
9 pkgrel=1
10 pkgdesc="REST API Server for MongoDB"
11 arch=(any)
12 url="http://github.com/tdegrunt/mongodb-rest"
13 license=()
14 depends=(nodejs)
15 makedepends=(nodejs-npm)
16 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
17 noextract=($_npmname-$pkgver.tgz)
18 sha1sums=(119ec2761a19c3a87b6c1120020aebae75dc44eb)
19 build() {
20   cd $srcdir
21   local _npmdir="$pkgdir/usr/lib/node_modules/"
22   mkdir -p $_npmdir
23   cd $_npmdir
24   npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
26 # vim:set ts=2 sw=2 et: