updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / nodejs-qunit / PKGBUILD
blobcd741d24db716b8dd4291cf7f38e9cae964a46b5
1 # Author: Oleg Slobodskoi <oleg008@gmail.com>
2 # Contributor: Jonathan Buchanan
3 # Contributor: Ashar Voultoiz
4 # Maintainer: kof <oleg008@gmail.com>
5 _npmname=qunit
6 pkgname=nodejs-qunit # All lowercase
7 pkgver=0.2.9
8 pkgrel=1
9 pkgdesc="A port of QUnit unit testing framework to nodejs"
10 arch=(any)
11 url="http: //github.com/kof/node-qunit"
12 license=(MIT)
13 depends=(nodejs)
14 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
15 noextract=($_npmname-$pkgver.tgz)
16 sha1sums=(874774ef07ff5f8a17e837d504ce3a5365d52c16)
17 build() {
18   cd $srcdir
19   local _npmdir="$pkgdir/usr/lib/node_modules/"
20   mkdir -p $_npmdir
21   cd $_npmdir
22   npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
24 # vim:set ts=2 sw=2 et: