Date: Friday, March 11, 2022 @ 23:36:13 Author: polyzen Revision: 1148938
archrelease: copy trunk to community-any Added: eslint/repos/community-any/PKGBUILD (from rev 1148937, eslint/trunk/PKGBUILD) Deleted: eslint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 85 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-11 23:35:51 UTC (rev 1148937) +++ PKGBUILD 2022-03-11 23:36:13 UTC (rev 1148938) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Daniel M. Capella <poly...@archlinux.org> - -pkgname=eslint -pkgver=8.10.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=('05361d11fc578579a1d053c2706391d5b1d87ae3b3eedff96f54b36e5b9a997221c9c541a3a239647a2a9325ab2d88945e3fe5e16d8ddf8b280793fd56b6e2ec') - -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 1148937, eslint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-11 23:36:13 UTC (rev 1148938) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +pkgname=eslint +pkgver=8.11.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=('fe80db0438b961c2ba29207444a3e1712fc98217bb56c0c468cab8c22c412f814dee123cb0092793ef9043470988e02858dcfb0c7d58e544ab7ae8e96107edbb') + +prepare() { + cd eslint-$pkgver + npm install +} + +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 +}