[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Aug 16 01:22:25 UTC 2016
Date: Tuesday, August 16, 2016 @ 01:22:24
Author: felixonmars
Revision: 186821
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 186820, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-16 01:22:09 UTC (rev 186820)
+++ PKGBUILD 2016-08-16 01:22:24 UTC (rev 186821)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=eslint
-pkgver=3.3.0
-pkgrel=2
-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=('a47163c71953f05a1295a08e5a0b88fe')
-
-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 186820, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-08-16 01:22:24 UTC (rev 186821)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=eslint
+pkgver=3.3.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=('32c8d9e6e0d50f4f6086c1c1c7bdc8c2')
+
+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
+}
More information about the arch-commits
mailing list