updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / nodejs-jasmine-runner / PKGBUILD
blob70fcce37c7d40469707304aa17a2cc17dad349e7
1 # Author: James R. Carr <james.r.carr@gmail.com>
2 # Contributor: 
3 # Maintainer: jamescarr <james.r.carr@gmail.com>
4 _npmname=jasmine-runner
5 pkgname=nodejs-jasmine-runner # All lowercase
6 pkgver=0.2.9
7 pkgrel=1
8 pkgdesc="Jasmine BDD utility tool and commandline runner"
9 arch=(any)
10 url="http://github.com/jamescarr/jasmine-tool"
11 license=()
12 depends=(nodejs)
13 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
14 noextract=($_npmname-$pkgver.tgz)
15 sha1sums=(2e21efc4529bf9ca7ec1564295c8e870a20ed623)
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: