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

Felix Yan felixonmars at gemini.archlinux.org
Sat Feb 12 14:10:02 UTC 2022


    Date: Saturday, February 12, 2022 @ 14:10:02
  Author: felixonmars
Revision: 1132791

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-12 14:09:54 UTC (rev 1132790)
+++ PKGBUILD	2022-02-12 14:10:02 UTC (rev 1132791)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=eslint
-pkgver=8.8.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=('e14853dc3e8fdb0d4c4f52683b0d0ce072e54bcb5277c47072a89f46fbb595ab8582899c490aca978970dd49661c020e4621e54125733f8718d8017ec6bd59d7')
-
-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 1132790, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-12 14:10:02 UTC (rev 1132791)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=eslint
+pkgver=8.9.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=('31feeeec3f48450877ac163ea9790ab74e981dfbe2dc39a332d84afafbc6a77c5680622e75ac7fb1e7e49dc43b3437d187a255a3a8ee2bec4491f097875709ea')
+
+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