aboutsummaryrefslogtreecommitdiffstats
path: root/main/nodejs-optimist
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-25 14:03:05 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-25 14:03:05 +0000
commit747c8b1c109f944bdd7be7a9dbc3af5406776bbf (patch)
treed2e227624e2de72ad4df4162ea7628af735891d5 /main/nodejs-optimist
parentf05ad6599b9e2d8635870812968d405cb9ed7051 (diff)
downloadaports-747c8b1c109f944bdd7be7a9dbc3af5406776bbf.tar.bz2
aports-747c8b1c109f944bdd7be7a9dbc3af5406776bbf.tar.xz
main/nodejs-optimist: moved from testing
Diffstat (limited to 'main/nodejs-optimist')
-rw-r--r--main/nodejs-optimist/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/main/nodejs-optimist/APKBUILD b/main/nodejs-optimist/APKBUILD
new file mode 100644
index 0000000000..9f0db7136a
--- /dev/null
+++ b/main/nodejs-optimist/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=nodejs-optimist
+_pkgname=${pkgname#nodejs-}
+pkgver=0.6.1
+pkgrel=0
+pkgdesc="Light-weight option parsing with an argv hash"
+url="https://github.com/substack/node-optimist"
+arch="noarch"
+license="MIT"
+depends="nodejs nodejs-wordwrap nodejs-minimist"
+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="5a3c2018c395731ecb5e91168a2242d4 optimist-0.6.1.tgz"
+sha256sums="56425fd38177f312912848ff242a684e0c69a03a4c370f49269e1411e031a1a5 optimist-0.6.1.tgz"
+sha512sums="b273783b84e48a0ba36698562cdd04fff9d09a6efbf74458684e770dd2fb658c1e7b60fc0c3a3dfc4c9888a51f377ae77965238499ee7a28dadc6f48da2d21de optimist-0.6.1.tgz"