diff options
author | rkcf | 2019-05-03 14:05:53 -0700 |
---|---|---|
committer | rkcf | 2019-05-03 14:05:53 -0700 |
commit | 9134919f41a556771db00cb8d451780934b2fce8 (patch) | |
tree | 53d5824f2c15741b3a61e87ec96e759adef460b1 | |
parent | e37d99b3e2b1eeaf0a424ca97a95cc0f6f4f4e3e (diff) | |
download | aur-9134919f41a556771db00cb8d451780934b2fce8.tar.gz |
update to 9.0.0
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 11 insertions, 8 deletions
@@ -1,15 +1,15 @@ pkgbase = eslint-plugin-node pkgdesc = Additional ESLint rules for Node.js - pkgver = 8.0.1 + pkgver = 9.0.0 pkgrel = 1 url = https://github.com/mysticatea/eslint-plugin-node arch = any license = MIT makedepends = npm depends = eslint - noextract = eslint-plugin-node-8.0.1.tgz - source = http://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-8.0.1.tgz - md5sums = f85a9a7c2e505f40aeb2e69e13e31881 + noextract = eslint-plugin-node-9.0.0.tgz + source = http://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-9.0.0.tgz + md5sums = e832254f16ca71496de411de47b89cb0 pkgname = eslint-plugin-node @@ -2,7 +2,7 @@ # Contributor: Adrian Sinclair <adrian@transloadit.com> pkgname=eslint-plugin-node -pkgver=8.0.1 +pkgver=9.0.0 pkgrel=1 pkgdesc='Additional ESLint rules for Node.js' arch=('any') @@ -12,14 +12,17 @@ depends=('eslint') makedepends=('npm') source=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) noextract=($pkgname-$pkgver.tgz) -md5sums=('f85a9a7c2e505f40aeb2e69e13e31881') +md5sums=('e832254f16ca71496de411de47b89cb0') package() { - npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + npm install -g --user root --cache "$srcdir/npm-cache" --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz - # Fix permissions + # Non-deterministic race in npm gives 777 permissions to random directories. + # See https://github.com/npm/npm/issues/9359 for details. find "$pkgdir/usr" -type d -exec chmod 755 '{}' + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" ln -s ../../../lib/node_modules/$pkgname/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } + +# vim:set ts=2 sw=2 et: |