diff options
author | Eivind Uggedal <eivind@uggedal.com> | 2014-06-25 15:11:41 +0000 |
---|---|---|
committer | Eivind Uggedal <eivind@uggedal.com> | 2014-06-25 15:11:41 +0000 |
commit | 1ccad7f5152a370d02758e1968d43748020eac91 (patch) | |
tree | 0aa98c445a69e5f137f34671e77cb67ab4e7f33a /testing | |
parent | 77371646de2d99ecf8c033a571ebdae59c2c0865 (diff) | |
download | aports-1ccad7f5152a370d02758e1968d43748020eac91.tar.bz2 aports-1ccad7f5152a370d02758e1968d43748020eac91.tar.xz |
testing/nodejs-commander: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/nodejs-commander/APKBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/nodejs-commander/APKBUILD b/testing/nodejs-commander/APKBUILD new file mode 100644 index 0000000000..55df189ca5 --- /dev/null +++ b/testing/nodejs-commander/APKBUILD @@ -0,0 +1,29 @@ +# Maintainer: Eivind Uggedal <eivind@uggedal.com> +pkgname=nodejs-commander +_pkgname=${pkgname#nodejs-} +pkgver=2.2.0 +pkgrel=0 +pkgdesc="Complete solution for Node.js command-line interfaces " +url="https://github.com/visionmedia/commander.js" +arch="noarch" +license="MIT" +depends="nodejs" +depends_dev="" +makedepends="$depends_dev" +install="" +subpackages="" +source="https://registry.npmjs.org/$_pkgname/-/$_pkgname-$pkgver.tgz" + +_builddir="$srcdir/package" +_moduledir=usr/lib/node_modules/$_pkgname + +package() { + cd "$_builddir" + + mkdir -p "$pkgdir"/$_moduledir + cp -pr package.json index.js "$pkgdir"/$_moduledir +} + +md5sums="ff462ce8dcc0e1881e8fb0004db20233 commander-2.2.0.tgz" +sha256sums="c4bf89ba7d02d9842bf8e8564e2332168cd0a77e653a3f567e4f747c61ee94a3 commander-2.2.0.tgz" +sha512sums="53a84191e22ca1e13cd41fb26acf6e545e18615715a010b06f57b7d7854fcaf550b9b170be74c0b9cd68510e95b8c3d8512e117f5833af4c1354bbece2c6f93f commander-2.2.0.tgz" |