summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ffcc280128ec806197fbc600e479a6e4877ef60e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
}