Date: Saturday, October 28, 2017 @ 03:03:55 Author: felixonmars Revision: 264629
archrelease: copy trunk to community-any Added: eslint/repos/community-any/PKGBUILD (from rev 264628, eslint/trunk/PKGBUILD) Deleted: eslint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 64 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-10-28 03:03:31 UTC (rev 264628) +++ PKGBUILD 2017-10-28 03:03:55 UTC (rev 264629) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=eslint -pkgver=4.9.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=('44112e1818e5a8dab4632fd116833f159b12a09dae3973b897b63e146c0647004cb1aea459780b6ba79dd8abb5ac8280b0e2fd39f2b208075b7ece2cd9ae083f') - -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 264628, eslint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-10-28 03:03:55 UTC (rev 264629) @@ -0,0 +1,32 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=eslint +pkgver=4.10.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=('30c565f0ffdd61415912fa252fc3d8b7ba9ce4b35d4b697085eabd0586b9634ec56e585c66a172694aa54bc4d6e5021319ec76d6d5782e4d1addf2bc96c24890') + +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 +}