updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / nodejs-jslint / PKGBUILD
blobbee08d1c17d064c103397fd7390abb6c0046b2ce
1 # Author: Reid Burke <me@reidburke.com>
2 # Contributor: Douglas Crockford <douglas@crockford.com>
3 # Contributor: Mikeal Rogers <mikeal.rogers@gmail.com>
4 # Contributor: Adam Moore
5 # Contributor: Luke Smith <lsmith@yahoo-inc.com>
6 # Contributor: Anders Conbere <aconbere@gmail.com>
7 # Maintainer: reid <me@reidburke.com>
8 _npmname=jslint
9 pkgname=nodejs-jslint # All lowercase
10 pkgver=0.1.2
11 pkgrel=1
12 pkgdesc="The JavaScript Code Quality Tool"
13 arch=(any)
14 url="https://github.com/reid/node-jslint"
15 license=(Modified MIT / BSD)
16 depends=(nodejs)
17 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
18 noextract=($_npmname-$pkgver.tgz)
19 sha1sums=(12d36741e06faa217e5f4ee9cfbf96f59e165f3d)
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: