updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nodejs-jshint / PKGBUILD
blob69e4247675a42bd8cbb91134fc76e5595d734e56
1 # Author: Brent Lintner <brent.lintner@gmail.com> (http://github.com/brentlintner)
2 # Maintainer: brentlintner <brent.lintner@gmail.com>
3 # Maintainer: antonkovalyov <anton@kovalyov.net>
4 _npmname=jshint
5 pkgname=nodejs-jshint # All lowercase
6 pkgver=0.5.7
7 pkgrel=1
8 pkgdesc="A CLI for JSHint"
9 arch=(any)
10 url="http://github.com/jshint/node-jshint"
11 license=(MIT)
12 depends=(nodejs)
13 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
14 noextract=($_npmname-$pkgver.tgz)
15 sha1sums=(d7944db46f3bb7baefea3d13f23c99a8cd5b753b)
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: