Date: Monday, November 22, 2021 @ 19:57:03 Author: polyzen Revision: 1054364
archrelease: copy trunk to community-any Added: eslint/repos/community-any/PKGBUILD (from rev 1054363, eslint/trunk/PKGBUILD) Deleted: eslint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-22 19:56:29 UTC (rev 1054363) +++ PKGBUILD 2021-11-22 19:57:03 UTC (rev 1054364) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Daniel M. Capella <poly...@archlinux.org> - -pkgname=eslint -pkgver=8.2.0 -pkgrel=1 -pkgdesc='An AST-based pattern checker for JavaScript' -arch=('any') -url='https://eslint.org' -license=('MIT') -depends=('acorn' 'nodejs') -makedepends=('npm' 'rsync') -options=('!emptydirs') -source=("https://github.com/eslint/eslint/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -b2sums=('77fd215b2a452bfeddf58b6764c7f7fe411da2b013bf3b2792749555d663963bd539e4d1ff4c5e3f966738703cc6b3738d60ad1608727a0ab9f909143a870b60') - -prepare() { - cd eslint-$pkgver - # Dependencies still pin older ESLint - npm install --force -} - -check() { - cd eslint-$pkgver - node Makefile mocha -} - -package() { - cd eslint-$pkgver - - npm prune --production - - install -d "$pkgdir"/usr/bin - ln -s ../lib/node_modules/$pkgname/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname - install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname.js - rsync -r --exclude .cache conf lib messages node_modules package.json \ - "$pkgdir"/usr/lib/node_modules/$pkgname - install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE - - # Experimental dedup - rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/acorn -} Copied: eslint/repos/community-any/PKGBUILD (from rev 1054363, eslint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-22 19:57:03 UTC (rev 1054364) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +pkgname=eslint +pkgver=8.3.0 +pkgrel=1 +pkgdesc='An AST-based pattern checker for JavaScript' +arch=('any') +url='https://eslint.org' +license=('MIT') +depends=('acorn' 'nodejs') +makedepends=('npm' 'rsync') +options=('!emptydirs') +source=("https://github.com/eslint/eslint/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +b2sums=('ea0da8c8da5c124ca951938f7c1267977da6c1350a3c4a08b6eaa3f8457520a4bcdd02bc8e4421f186154e68867fe6a070de95575532ff764a76b0598a40d520') + +prepare() { + cd eslint-$pkgver + # Dependencies still pin older ESLint + npm install --force +} + +check() { + cd eslint-$pkgver + node Makefile mocha +} + +package() { + cd eslint-$pkgver + + npm prune --production + + install -d "$pkgdir"/usr/bin + ln -s ../lib/node_modules/$pkgname/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname + install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname.js + rsync -r --exclude .cache conf lib messages node_modules package.json \ + "$pkgdir"/usr/lib/node_modules/$pkgname + install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE + + # Experimental dedup + rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/acorn +}