diff options
author | Daichi Shinozaki | 2015-06-09 18:22:38 +0900 |
---|---|---|
committer | Daichi Shinozaki | 2015-06-09 18:22:38 +0900 |
commit | 03ecb761786ce04350a0bc3554f174965d908966 (patch) | |
tree | 31d91246a643ebd2a8e9f0e6fbf1f82c209c6aa8 | |
download | aur-03ecb761786ce04350a0bc3554f174965d908966.tar.gz |
Initial import
-rw-r--r-- | .AURINFO | 13 | ||||
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 36 |
3 files changed, 63 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO new file mode 100644 index 000000000000..08f879c60b72 --- /dev/null +++ b/.AURINFO @@ -0,0 +1,13 @@ +pkgbase = nodejs-nodeunit + pkgdesc = Easy unit testing for node.js and the browser. + pkgver = 0.9.0 + pkgrel = 1 + url = http://github.com/caolan/nodeunit + arch = any + license = MIT + depends = nodejs + source = http://registry.npmjs.org/nodeunit/-/nodeunit-0.9.0.tgz + noextract = nodeunit-0.9.0.tgz + +pkgname = nodejs-nodeunit + diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c702aa80357a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = nodejs-nodeunit + pkgdesc = Easy unit testing for node.js and the browser. + pkgver = 0.9.0 + pkgrel = 1 + url = http://github.com/caolan/nodeunit + arch = any + license = MIT + depends = nodejs + noextract = nodeunit-0.9.0.tgz + source = http://registry.npmjs.org/nodeunit/-/nodeunit-0.9.0.tgz + sha1sums = 0dfab188176c59de5373590f4197686941378351 + +pkgname = nodejs-nodeunit + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e260885c059d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Author: Caolan McMahon +# Contributor: Romain Beauxis (https://github.com/toots) +# Contributor: Alex Gorbatchev (https://github.com/alexgorbatchev) +# Contributor: Alex Wolfe (https://github.com/alexkwolfe) +# Contributor: Carl Fürstenberg (https://github.com/azatoth) +# Contributor: Gerad Suyderhoud (https://github.com/gerad) +# Contributor: Kadir Pekel (https://github.com/coffeemate) +# Contributor: Oleg Efimov (https://github.com/Sannis) +# Contributor: Orlando Vazquez (https://github.com/orlandov) +# Contributor: Ryan Dahl (https://github.com/ry) +# Contributor: Sam Stephenson (https://github.com/sstephenson) +# Contributor: Thomas Mayfield (https://github.com/thegreatape) +# Contributor: Elijah Insua <tmpvar@gmail.com> (http://tmpvar.com) +# Maintainer: caolan <caolan@caolanmcmahon.com> +# Maintainer: mreinstein <reinstein.mike@gmail.com> +_npmname=nodeunit +pkgname=nodejs-nodeunit # All lowercase +pkgver=0.9.0 +pkgrel=1 +pkgdesc="Easy unit testing for node.js and the browser." +arch=(any) +url="http://github.com/caolan/nodeunit" +license=(MIT) +depends=('nodejs') +source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) +noextract=($_npmname-$pkgver.tgz) +sha1sums=('0dfab188176c59de5373590f4197686941378351') + +package() { + cd $srcdir + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p $_npmdir + cd $_npmdir + npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver +} +# vim:set ts=2 sw=2 et: |