]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
Add 'nodejs-npm-cache/' from commit '550ed1fea5db4ba0378be17b435ddc042384f061'
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 13:18:51 +0000 (14:18 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Thu, 14 Feb 2019 13:18:51 +0000 (14:18 +0100)
git-subtree-dir: nodejs-npm-cache
git-subtree-mainline: 366306c52394bd08d83977295b3e272774d7acfd
git-subtree-split: 550ed1fea5db4ba0378be17b435ddc042384f061

1  2 
nodejs-npm-cache/.SRCINFO
nodejs-npm-cache/PKGBUILD

index 0000000000000000000000000000000000000000,f7e3c63f3db873228dc74d0173a413fdf76065b2..f7e3c63f3db873228dc74d0173a413fdf76065b2
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,18 +1,18 @@@
+ # Generated by mksrcinfo v8
+ # Thu Feb 14 11:09:18 UTC 2019
+ pkgbase = nodejs-npm-cache
+       pkgdesc = A command line utility that caches dependencies installed via npm.
+       pkgver = 0.7.0
+       pkgrel = 1
+       url = https://github.com/swarajban/npm-cache
+       arch = any
+       license = MIT
+       depends = nodejs
+       depends = npm
+       noextract = npm-cache-0.7.0.tgz
+       options = !emptydirs
+       source = https://registry.npmjs.org/npm-cache/-/npm-cache-0.7.0.tgz
+       sha512sums = 2cc2f53dcdb42634053b93e39cda7ca1713bfb389e41546cf65c86135e13b8462ae662963bacf602784c242d102e0d9c6eb258a51aaad04fc0a567d7bc18d8f5
+ pkgname = nodejs-npm-cache
index 0000000000000000000000000000000000000000,d1da25addf8e738c91f5092556bc5f03ddbca7e7..d1da25addf8e738c91f5092556bc5f03ddbca7e7
mode 000000,100644..100644
--- /dev/null
@@@ -1,0 -1,23 +1,23 @@@
+ # Maintainer : Immae <ismael.bouya@normalesup.org>
+ _npmname=npm-cache
+ pkgname=nodejs-$_npmname
+ pkgver=0.7.0
+ pkgrel=1
+ pkgdesc="A command line utility that caches dependencies installed via npm."
+ arch=('any')
+ url="https://github.com/swarajban/npm-cache"
+ license=('MIT')
+ depends=('nodejs' 'npm')
+ source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
+ noextract=("$_npmname-$pkgver.tgz")
+ sha512sums=('2cc2f53dcdb42634053b93e39cda7ca1713bfb389e41546cf65c86135e13b8462ae662963bacf602784c242d102e0d9c6eb258a51aaad04fc0a567d7bc18d8f5')
+ options=('!emptydirs')
+ package() {
+   local _npmdir="$pkgdir/usr/lib/node_modules/"
+   mkdir -p "$_npmdir"
+   cd "$_npmdir"
+   npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+ }