[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at gemini.archlinux.org
Sun Jan 16 02:42:39 UTC 2022


    Date: Sunday, January 16, 2022 @ 02:42:39
  Author: polyzen
Revision: 1105589

archrelease: copy trunk to community-any

Added:
  eslint/repos/community-any/PKGBUILD
    (from rev 1105587, eslint/trunk/PKGBUILD)
Deleted:
  eslint/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-16 02:42:38 UTC (rev 1105588)
+++ PKGBUILD	2022-01-16 02:42:39 UTC (rev 1105589)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=eslint
-pkgver=8.6.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=('7cf2e1bf0c98b42130191b51f3b4af1e3395f2c8487b259819cad60d0879a24239497be3dc372d7c4362eecbbe55fe4eac88377f5fca80b63e0628ed195f886b')
-
-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 1105587, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-16 02:42:39 UTC (rev 1105589)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=eslint
+pkgver=8.7.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=('83240d4f99826b542935e73edc6155898ff6bb8a6471b151f991433dd6499e5d55a7b5ed9d1423a91a286aa07efda5eb85a1787fc8d546a09034b99fadbea3aa')
+
+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