Date: Sunday, December 24, 2017 @ 05:10:00 Author: felixonmars Revision: 275622
archrelease: copy trunk to community-any Added: eslint/repos/community-any/PKGBUILD (from rev 275621, eslint/trunk/PKGBUILD) Deleted: eslint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-12-24 05:09:44 UTC (rev 275621) +++ PKGBUILD 2017-12-24 05:10:00 UTC (rev 275622) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=eslint -pkgver=4.13.1 -pkgrel=1 -pkgdesc='An AST-based pattern checker for JavaScript' -arch=('any') -url='http://eslint.org' -license=('MIT') -depends=('nodejs' 'acorn') -makedepends=('npm') -source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz") -noextract=("$pkgname-$pkgver.tgz") -sha512sums=('502255579d11b4b1d8cc1a750d9f0230fb514a0e22559be380ef4824720ac9653f0272558ed7518a4a143cb076f67e69ccc07b4e7b0b4167f457a55425fa0f7f') - -package() { - npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz - rm -r "$pkgdir"/usr/etc - - # Fix permissions - find "$pkgdir/usr" -type d -exec chmod 755 '{}' + - - install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" - ln -s ../../../lib/node_modules/eslint/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - - # Experimental dedup - cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules - for dep in acorn; do - rm -r $dep; - done -} Copied: eslint/repos/community-any/PKGBUILD (from rev 275621, eslint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-24 05:10:00 UTC (rev 275622) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=eslint +pkgver=4.14.0 +pkgrel=1 +pkgdesc='An AST-based pattern checker for JavaScript' +arch=('any') +url='http://eslint.org' +license=('MIT') +depends=('nodejs' 'acorn') +makedepends=('npm') +source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz") +noextract=("$pkgname-$pkgver.tgz") +sha512sums=('525e824864632ac704ca0d17fc478db3ba365dd9db4c4383d4e33c7138e6c7ce513dc04942b12164b7af86e25934013fbd2da2565e548608aa7f7879b8b30225') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + rm -r "$pkgdir"/usr/etc + + # Fix permissions + find "$pkgdir/usr" -type d -exec chmod 755 '{}' + + + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + ln -s ../../../lib/node_modules/eslint/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + + # Experimental dedup + cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules + for dep in acorn; do + rm -r $dep; + done +}