updated on Wed Jan 18 08:00:29 UTC 2012
[aur-mirror.git] / nodejs-http-proxy / PKGBUILD
blob365afae491833a7e04734fe02593ab07cc7dd8a3
1 # Author: Charlie Robbins <charlie.robbins@gmail.com>
2 # Contributor: Mikeal Rogers <mikeal.rogers@gmail.com>
3 # Contributor: Marak Squires <marak.squires@gmail.com>
4 # Contributor: Fedor Indutny <fedor.indutny@gmail.com>
5 # Contributor: Dominic Tarr <dominic@nodejitsu.com>
6 # Maintainer: marak <marak.squires@gmail.com>
7 # Maintainer: indexzero <charlie.robbins@gmail.com>
8 _npmname=http-proxy
9 pkgname=nodejs-http-proxy # All lowercase
10 pkgver=0.8.0
11 pkgrel=1
12 pkgdesc="A full-featured http reverse proxy for node.js"
13 arch=(any)
14 url="http://github.com/nodejitsu/node-http-proxy"
15 license=()
16 depends=(nodejs)
17 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
18 noextract=($_npmname-$pkgver.tgz)
19 sha1sums=(b366d265688ffcaa9e3c77ead20d154ddf94489e)
20 build() {
21   cd $srcdir
22   local _npmdir="$pkgdir/usr/lib/node_modules/"
23   mkdir -p $_npmdir
24   cd $_npmdir
25   npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
27 # vim:set ts=2 sw=2 et: