[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Dec 9 21:03:12 UTC 2017
Date: Saturday, December 9, 2017 @ 21:03:12
Author: felixonmars
Revision: 273406
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 273405, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 64 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 32 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-09 21:02:48 UTC (rev 273405)
+++ PKGBUILD 2017-12-09 21:03:12 UTC (rev 273406)
@@ -1,32 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=eslint
-pkgver=4.12.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=('dbc84e61e8fe359fd1e47d7232fc8a6b5f9b3e5bbe7e7b080107df2ba8715e0be65e7226a2cd9b0395df0a7e5d62fda4da6aca8fefd4fd9e0be48096c42ed343')
-
-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 273405, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-09 21:03:12 UTC (rev 273406)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=eslint
+pkgver=4.13.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=('d65d9a56b133f72896b0441d2f75d91334e8bc740915969378884e3a294a411898367d5d5402e860eb67d3a88fa31844c05ba404f5f815ff16a060f8affec3d8')
+
+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
+}
More information about the arch-commits
mailing list