Date: Tuesday, March 7, 2017 @ 05:11:37 Author: felixonmars Revision: 215184
archrelease: copy trunk to community-any Added: eslint/repos/community-any/PKGBUILD (from rev 215183, eslint/trunk/PKGBUILD) Deleted: eslint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 66 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 33 insertions(+), 33 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-07 05:11:08 UTC (rev 215183) +++ PKGBUILD 2017-03-07 05:11:37 UTC (rev 215184) @@ -1,33 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=eslint -pkgver=3.17.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=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -md5sums=('c27f8c7f39677969d4fd2a9edb105c79') - -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; - npm link $dep; - done -} Copied: eslint/repos/community-any/PKGBUILD (from rev 215183, eslint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-07 05:11:37 UTC (rev 215184) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=eslint +pkgver=3.17.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=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +md5sums=('80cfa770f6db21cb6109f4a620198a47') + +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; + npm link $dep; + done +}