Date: Monday, August 1, 2022 @ 05:35:56 Author: polyzen Revision: 1259558
archrelease: copy trunk to community-any Added: eslint/repos/community-any/PKGBUILD (from rev 1259557, eslint/trunk/PKGBUILD) Deleted: eslint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-01 05:35:28 UTC (rev 1259557) +++ PKGBUILD 2022-08-01 05:35:56 UTC (rev 1259558) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Maintainer: Daniel M. Capella <poly...@archlinux.org> - -pkgname=eslint -pkgver=8.20.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/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -b2sums=('b9a73da4bdc7c78cea7c8ef7488531b867160b3fecfd01de4c04a766041ba808b9dd7a06ac5a743ec5c65f93b334ee0b37e436aad0930c73b2ccb196030c79fe') - -prepare() { - cd $pkgname-$pkgver - npm install -} - -check() { - cd $pkgname-$pkgver - node Makefile mocha -} - -package() { - cd $pkgname-$pkgver - - npm prune --production - - _npmdir=/usr/lib/node_modules/$pkgname - install -d "$pkgdir"/usr/bin - ln -s $_npmdir/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname - install -Dt "$pkgdir"/$_npmdir/bin bin/$pkgname.js - rsync -r --exclude .cache --exclude .package-lock.json conf lib messages \ - node_modules package.json "$pkgdir"/$_npmdir - install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE - - # Experimental dedup - rm -r "$pkgdir"/$_npmdir/node_modules/acorn -} Copied: eslint/repos/community-any/PKGBUILD (from rev 1259557, eslint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-01 05:35:56 UTC (rev 1259558) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Daniel M. Capella <poly...@archlinux.org> + +pkgname=eslint +pkgver=8.21.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/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +b2sums=('a186025e0013e06a5c0eee707665c58c07c2240f32baf8121594d6504398d38e18be8966835c1068e57436782c35ff4d2a9e03814c91463cf2abe57f8c213628') + +prepare() { + cd $pkgname-$pkgver + npm install +} + +check() { + cd $pkgname-$pkgver + node Makefile mocha +} + +package() { + cd $pkgname-$pkgver + + npm prune --production + + _npmdir=/usr/lib/node_modules/$pkgname + install -d "$pkgdir"/usr/bin + ln -s $_npmdir/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname + install -Dt "$pkgdir"/$_npmdir/bin bin/$pkgname.js + rsync -r --exclude .cache --exclude .package-lock.json conf lib messages \ + node_modules package.json "$pkgdir"/$_npmdir + install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE + + # Experimental dedup + rm -r "$pkgdir"/$_npmdir/node_modules/acorn +}