aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-25 13:38:22 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-25 13:38:22 +0000
commite7628665a0feccdd3c4f7359496f9b0e4716a1aa (patch)
tree5767042db3509bf642818dbcf6a4152168a248ce /testing
parent3665ef2a43f0f32a6f4d4af1c35a6bb701e95659 (diff)
downloadaports-e7628665a0feccdd3c4f7359496f9b0e4716a1aa.tar.bz2
aports-e7628665a0feccdd3c4f7359496f9b0e4716a1aa.tar.xz
testing/nodejs-minimist: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/nodejs-minimist/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/nodejs-minimist/APKBUILD b/testing/nodejs-minimist/APKBUILD
new file mode 100644
index 0000000000..b259d5ffc7
--- /dev/null
+++ b/testing/nodejs-minimist/APKBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Eivind Uggedal <eivind@uggedal.com>
+pkgname=nodejs-minimist
+_pkgname=${pkgname#nodejs-}
+pkgver=0.2.0
+pkgrel=0
+pkgdesc="Parse argument options"
+url="https://github.com/substack/minimist"
+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="f87392079b067aa68e49c0cf258aad16 minimist-0.2.0.tgz"
+sha256sums="8eb7d09f488e7c162a88ebce0fa361cb0894d0d1da13a8b30cd48abdfbbefbc1 minimist-0.2.0.tgz"
+sha512sums="044487ae62450888815bf3d1d3c243edb76d06179540c77d19cbcb12adc00ac654e97dc8aefbab6703b4c60eeecbf5379eddcccba1f30e3356713ea23b282a5c minimist-0.2.0.tgz"