updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / nodejs-connect-docco / PKGBUILD
blobd666144309391122a68a97b3756592f7b98a74bd
1 # Author: mklabs
2 # Maintainer: mklabs <daniel.mickael@gmail.com>
3 _npmname=connect-docco
4 pkgname=nodejs-connect-docco # All lowercase
5 pkgver=0.0.2
6 pkgrel=1
7 pkgdesc="docco middleware for connect. Mix it with socket.io and watch to get fancy automatic updates."
8 arch=(any)
9 url="http://github.com/mklabs/connect-docco"
10 license=()
11 depends=(nodejs)
12 makedepends=(nodejs-npm)
13 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
14 noextract=($_npmname-$pkgver.tgz)
15 sha1sums=(e75fe3432d2bdf142141f4eebe46b3d65dc9434d)
16 build() {
17   cd $srcdir
18   local _npmdir="$pkgdir/usr/lib/node_modules/"
19   mkdir -p $_npmdir
20   cd $_npmdir
21   npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
23 # vim:set ts=2 sw=2 et: