summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorNiels Abspoel2015-06-08 21:46:57 +0200
committerNiels Abspoel2015-06-08 21:46:57 +0200
commit61bcf6cd945006f635376d9592b4cdc866992f4b (patch)
tree68ef3b49c06ad1c11c4f8a0f1939e96eb4ba58cb /PKGBUILD
downloadaur-61bcf6cd945006f635376d9592b4cdc866992f4b.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ffcc280128e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: aboe76 AT gmail DOT com>
+
+pkgname=nodejs-mkdirp
+_npmname=mkdirp
+pkgver=0.5.0
+pkgrel=3
+pkgdesc="Recursively mkdir, like mkdir -p, but in node.js"
+arch=('any')
+depends=('nodejs')
+url="https://github.com/substack/node-mkdirp"
+license=('MIT')
+provides=('nodejs-mkdirp')
+source=(".AURINFO")
+md5sums=('SKIP')
+
+package() {
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p $_npmdir
+ cd $_npmdir
+ npm config set strict-ssl false
+ npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+ npm config set strict-ssl true
+}