diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 13 insertions, 11 deletions
@@ -1,13 +1,13 @@ # Maintainer: Adrian Sinclair <adrian@transloadit.com> pkgname=standard -pkgver=8.6.0 +pkgver=10.0.1 pkgrel=1 pkgdesc='JavaScript Standard Style' arch=('any') url='http://standardjs.com/index.html' license=('MIT') -depends=('nodejs' 'eslint' 'eslint-plugin-react' 'eslint-plugin-promise') +depends=('nodejs' 'eslint' 'eslint-plugin-react' 'eslint-plugin-promise' 'eslint-plugin-node' 'eslint-plugin-import') makedepends=('npm') _npmnames=($pkgname @@ -16,10 +16,10 @@ _npmnames=($pkgname eslint-config-standard eslint-config-standard-jsx) _npmvers=($pkgver - 5.2.0 - 2.0.1 - 6.2.1 - 3.2.0) + 7.0.0 + 3.0.1 + 10.2.0 + 4.0.1) source=() noextract=() @@ -27,11 +27,13 @@ for n in 0 1 2 3 4; do source[$n]="http://registry.npmjs.org/${_npmnames[$n]}/-/${_npmnames[$n]}-${_npmvers[$n]}.tgz" noextract[$n]="${_npmnames[$n]}-${_npmvers[$n]}.tgz" done -md5sums=('5f91004c0f2f9da458c90b7b663ac1b0' - 'ec1a1a9087496c5321149bac05756bed' - '6c02705f28b66be297131041d08b1d55' - 'c1dab86fdc4f639dfbf9e47512c86aea' - 'b92982f2ce4145c063f406da8e5df289') +md5sums=('c175de17e2d6cb6c6a92e7d9c7d92689' + '9aef55b42ac22f66d8c80401c4262a55' + '42240fb33303d86c1ef76531f174125c' + '129ffff2f86e93850047fad9676e25bf' + '0693e72fb2ca2879de76caf1e0bb3870') + + package() { for n in 0 1 2 3 4; do npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/${_npmnames[$n]}-${_npmvers[$n]}.tgz |