Date: Saturday, January 1, 2022 @ 09:51:13 Author: polyzen Revision: 1091636
archrelease: copy trunk to community-any Added: eslint/repos/community-any/PKGBUILD (from rev 1091635, eslint/trunk/PKGBUILD) Deleted: eslint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-01-01 09:50:48 UTC (rev 1091635) +++ PKGBUILD 2022-01-01 09:51:13 UTC (rev 1091636) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Daniel M. Capella <poly...@archlinux.org> - -pkgname=eslint -pkgver=8.5.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=('3def75e6b77c669a1aa81ded6bbfd28309e961377d19259692d1bdbb35e10e27fcfedd312742ea4fbbd8337a10b24e0844482200cf6ce9e5fef145ccb16b54b0') - -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 1091635, eslint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-01 09:51:13 UTC (rev 1091636) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +pkgname=eslint +pkgver=8.6.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=('7cf2e1bf0c98b42130191b51f3b4af1e3395f2c8487b259819cad60d0879a24239497be3dc372d7c4362eecbbe55fe4eac88377f5fca80b63e0628ed195f886b') + +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 +}