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

Daniel M. Capella polyzen at gemini.archlinux.org
Sat Jun 18 05:28:58 UTC 2022


    Date: Saturday, June 18, 2022 @ 05:28:57
  Author: polyzen
Revision: 1238352

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-18 05:28:28 UTC (rev 1238351)
+++ PKGBUILD	2022-06-18 05:28:57 UTC (rev 1238352)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=eslint
-pkgver=8.17.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/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-b2sums=('ab231679d3ab91805f705a3659e5204d64cec7600bf8c2083cba38b1ed62b5a3b7de3dfd4abcf01bbcb99b7040994f8dfadd0b80e97935b36be8ab9753ee1a09')
-
-prepare() {
-  cd $pkgname-$pkgver
-  npm install
-}
-
-check() {
-  cd $pkgname-$pkgver
-  node Makefile mocha
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  npm prune --production
-
-  _npmdir=/usr/lib/node_modules/$pkgname
-  install -d "$pkgdir"/usr/bin
-  ln -s $_npmdir/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
-  install -Dt "$pkgdir"/$_npmdir/bin bin/$pkgname.js
-  rsync -r --exclude .cache conf lib messages node_modules package.json \
-    "$pkgdir"/$_npmdir
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-
-  # Experimental dedup
-  rm -r "$pkgdir"/$_npmdir/node_modules/acorn
-}

Copied: eslint/repos/community-any/PKGBUILD (from rev 1238351, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-06-18 05:28:57 UTC (rev 1238352)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=eslint
+pkgver=8.18.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/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+b2sums=('50f2ceea00749c85ff8d2bcfba23e2b0f35806cd89f988c61a57d9080197fb2cfc82a3459070828bd575319c380920b7b8f43dae302a3903011e11a2776073ea')
+
+prepare() {
+  cd $pkgname-$pkgver
+  npm install
+}
+
+check() {
+  cd $pkgname-$pkgver
+  node Makefile mocha
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  npm prune --production
+
+  _npmdir=/usr/lib/node_modules/$pkgname
+  install -d "$pkgdir"/usr/bin
+  ln -s $_npmdir/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
+  install -Dt "$pkgdir"/$_npmdir/bin bin/$pkgname.js
+  rsync -r --exclude .cache --exclude .package-lock.json conf lib messages \
+    node_modules package.json "$pkgdir"/$_npmdir
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname README.md
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+
+  # Experimental dedup
+  rm -r "$pkgdir"/$_npmdir/node_modules/acorn
+}



More information about the arch-commits mailing list