[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sat Nov 6 00:12:24 UTC 2021
Date: Saturday, November 6, 2021 @ 00:12:23
Author: polyzen
Revision: 1037373
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 1037372, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-06 00:11:58 UTC (rev 1037372)
+++ PKGBUILD 2021-11-06 00:12:23 UTC (rev 1037373)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=eslint
-pkgver=8.1.0
-pkgrel=1
-pkgdesc='An AST-based pattern checker for JavaScript'
-arch=('any')
-url='https://eslint.org'
-license=('MIT')
-depends=('acorn' 'nodejs')
-makedepends=('npm' 'rsync')
-options=('!emptydirs')
-source=("https://github.com/eslint/eslint/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('4ae495723efc160e3a133f211fe8941ed3d5c4ba3725f106f07ae7a8ea294dfb88d47de9ab9562976ebf74ad01f9e431dea83b0c3b4d88f55df9cd13010dacda')
-
-prepare() {
- cd eslint-$pkgver
- # Dependencies still pin older ESLint
- npm install --force
-}
-
-check() {
- cd eslint-$pkgver
- node Makefile mocha
-}
-
-package() {
- cd eslint-$pkgver
-
- npm prune --production
-
- install -d "$pkgdir"/usr/bin
- ln -s ../lib/node_modules/$pkgname/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
- install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname.js
- rsync -r --exclude .cache conf lib messages node_modules package.json \
- "$pkgdir"/usr/lib/node_modules/$pkgname
- install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-
- # Experimental dedup
- rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/acorn
-}
Copied: eslint/repos/community-any/PKGBUILD (from rev 1037372, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-06 00:12:23 UTC (rev 1037373)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=eslint
+pkgver=8.2.0
+pkgrel=1
+pkgdesc='An AST-based pattern checker for JavaScript'
+arch=('any')
+url='https://eslint.org'
+license=('MIT')
+depends=('acorn' 'nodejs')
+makedepends=('npm' 'rsync')
+options=('!emptydirs')
+source=("https://github.com/eslint/eslint/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('77fd215b2a452bfeddf58b6764c7f7fe411da2b013bf3b2792749555d663963bd539e4d1ff4c5e3f966738703cc6b3738d60ad1608727a0ab9f909143a870b60')
+
+prepare() {
+ cd eslint-$pkgver
+ # Dependencies still pin older ESLint
+ npm install --force
+}
+
+check() {
+ cd eslint-$pkgver
+ node Makefile mocha
+}
+
+package() {
+ cd eslint-$pkgver
+
+ npm prune --production
+
+ install -d "$pkgdir"/usr/bin
+ ln -s ../lib/node_modules/$pkgname/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
+ install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname.js
+ rsync -r --exclude .cache conf lib messages node_modules package.json \
+ "$pkgdir"/usr/lib/node_modules/$pkgname
+ install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+
+ # Experimental dedup
+ rm -r "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules/acorn
+}
More information about the arch-commits
mailing list