updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / nodejs-nodeunit / PKGBUILD
blob26b4c489434237103e532cff47eef5889a7696ff
1 # Author: Caolan McMahon
2 # Contributor: Romain Beauxis (https://github.com/toots)
3 # Contributor: Alex Gorbatchev (https://github.com/alexgorbatchev)
4 # Contributor: Alex Wolfe (https://github.com/alexkwolfe)
5 # Contributor: Carl Fürstenberg (https://github.com/azatoth)
6 # Contributor: Gerad Suyderhoud (https://github.com/gerad)
7 # Contributor: Kadir Pekel (https://github.com/coffeemate)
8 # Contributor: Oleg Efimov (https://github.com/Sannis)
9 # Contributor: Orlando Vazquez (https://github.com/orlandov)
10 # Contributor: Ryan Dahl (https://github.com/ry)
11 # Contributor: Sam Stephenson (https://github.com/sstephenson)
12 # Contributor: Thomas Mayfield (https://github.com/thegreatape)
13 # Contributor: Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com)
14 # Maintainer: caolan <caolan@caolanmcmahon.com>
15 _npmname=nodeunit
16 pkgname=nodejs-nodeunit # All lowercase
17 pkgver=0.6.4
18 pkgrel=1
19 pkgdesc="Easy unit testing for node.js and the browser."
20 arch=(any)
21 url="http://github.com/caolan/nodeunit"
22 license=(MIT)
23 depends=(nodejs)
24 source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
25 noextract=($_npmname-$pkgver.tgz)
26 sha1sums=(9bd543035b6f86d9db2030d872dee28513dbf499)
27 build() {
28   cd $srcdir
29   local _npmdir="$pkgdir/usr/lib/node_modules/"
30   mkdir -p $_npmdir
31   cd $_npmdir
32   npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
34 # vim:set ts=2 sw=2 et: