summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d3dd4e97da9d61df25895ed1d3ba3949811d708c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
_npmname=node.io
pkgname=nodejs-node.io # All lowercase
pkgver=0.5.1
pkgrel=1
pkgdesc="A distributed data scraping and processing framework"
arch=('any')
url="http://github.com/chriso/node.io"
license=(MIT)
depends=('nodejs' 'npm')
source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
noextract=($_npmname-$pkgver.tgz)
sha1sums=('9fabd09a065decaf6ae59b87abd2a42d90fe1ea5')

package() {
  cd $srcdir
  local _npmdir="$pkgdir/usr/lib/node_modules/"
  mkdir -p $_npmdir
  cd $_npmdir
  npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
}
# vim:set ts=2 sw=2 et: