[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Aug 4 14:16:22 UTC 2018
Date: Saturday, August 4, 2018 @ 14:16:22
Author: felixonmars
Revision: 367913
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 367912, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-04 14:16:05 UTC (rev 367912)
+++ PKGBUILD 2018-08-04 14:16:22 UTC (rev 367913)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=eslint
-pkgver=5.2.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=('ce58205b5aa9eff4c18f02dfa2e46863b7965eb5f025916a09d231c61d3f2d507f42eb8ab88324cf251911c0e8e8b05a76caf2e4970433122a7771ffeba09756')
-
-package() {
- npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-
- # 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 367912, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-08-04 14:16:22 UTC (rev 367913)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=eslint
+pkgver=5.3.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=('37fb42aa530a93236f02f2eefb323d02a0dab2748bb74d0af87bbc91db04465882f6360473c724d765ed8ef397ac12aef1f2ba46b05c37d6dab7a5e4fbef6302')
+
+package() {
+ npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+ # 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