aboutsummaryrefslogtreecommitdiff
path: root/nodejs-npm-cache
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 14:18:51 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-02-14 14:18:51 +0100
commit37a92c06bd84326cf1e6233c73726bc70079a1bf (patch)
tree5d9d4192143de6c0177e9201002d3770779c377d /nodejs-npm-cache
parent366306c52394bd08d83977295b3e272774d7acfd (diff)
parent550ed1fea5db4ba0378be17b435ddc042384f061 (diff)
downloadAUR-37a92c06bd84326cf1e6233c73726bc70079a1bf.tar.gz
AUR-37a92c06bd84326cf1e6233c73726bc70079a1bf.tar.zst
AUR-37a92c06bd84326cf1e6233c73726bc70079a1bf.zip
Add 'nodejs-npm-cache/' from commit '550ed1fea5db4ba0378be17b435ddc042384f061'
git-subtree-dir: nodejs-npm-cache git-subtree-mainline: 366306c52394bd08d83977295b3e272774d7acfd git-subtree-split: 550ed1fea5db4ba0378be17b435ddc042384f061
Diffstat (limited to 'nodejs-npm-cache')
-rw-r--r--nodejs-npm-cache/.SRCINFO18
-rw-r--r--nodejs-npm-cache/PKGBUILD23
2 files changed, 41 insertions, 0 deletions
diff --git a/nodejs-npm-cache/.SRCINFO b/nodejs-npm-cache/.SRCINFO
new file mode 100644
index 0000000..f7e3c63
--- /dev/null
+++ b/nodejs-npm-cache/.SRCINFO
@@ -0,0 +1,18 @@
1# Generated by mksrcinfo v8
2# Thu Feb 14 11:09:18 UTC 2019
3pkgbase = nodejs-npm-cache
4 pkgdesc = A command line utility that caches dependencies installed via npm.
5 pkgver = 0.7.0
6 pkgrel = 1
7 url = https://github.com/swarajban/npm-cache
8 arch = any
9 license = MIT
10 depends = nodejs
11 depends = npm
12 noextract = npm-cache-0.7.0.tgz
13 options = !emptydirs
14 source = https://registry.npmjs.org/npm-cache/-/npm-cache-0.7.0.tgz
15 sha512sums = 2cc2f53dcdb42634053b93e39cda7ca1713bfb389e41546cf65c86135e13b8462ae662963bacf602784c242d102e0d9c6eb258a51aaad04fc0a567d7bc18d8f5
16
17pkgname = nodejs-npm-cache
18
diff --git a/nodejs-npm-cache/PKGBUILD b/nodejs-npm-cache/PKGBUILD
new file mode 100644
index 0000000..d1da25a
--- /dev/null
+++ b/nodejs-npm-cache/PKGBUILD
@@ -0,0 +1,23 @@
1# Maintainer : Immae <ismael.bouya@normalesup.org>
2
3_npmname=npm-cache
4pkgname=nodejs-$_npmname
5pkgver=0.7.0
6pkgrel=1
7pkgdesc="A command line utility that caches dependencies installed via npm."
8arch=('any')
9url="https://github.com/swarajban/npm-cache"
10license=('MIT')
11depends=('nodejs' 'npm')
12source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
13noextract=("$_npmname-$pkgver.tgz")
14sha512sums=('2cc2f53dcdb42634053b93e39cda7ca1713bfb389e41546cf65c86135e13b8462ae662963bacf602784c242d102e0d9c6eb258a51aaad04fc0a567d7bc18d8f5')
15options=('!emptydirs')
16
17package() {
18 local _npmdir="$pkgdir/usr/lib/node_modules/"
19 mkdir -p "$_npmdir"
20 cd "$_npmdir"
21
22 npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver
23}