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

Daniel M. Capella polyzen at gemini.archlinux.org
Sun Aug 14 19:47:54 UTC 2022


    Date: Sunday, August 14, 2022 @ 19:47:54
  Author: polyzen
Revision: 1266085

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-14 19:46:54 UTC (rev 1266084)
+++ PKGBUILD	2022-08-14 19:47:54 UTC (rev 1266085)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=eslint
-pkgver=8.21.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=('a186025e0013e06a5c0eee707665c58c07c2240f32baf8121594d6504398d38e18be8966835c1068e57436782c35ff4d2a9e03814c91463cf2abe57f8c213628')
-
-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
-}

Copied: eslint/repos/community-any/PKGBUILD (from rev 1266084, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-14 19:47:54 UTC (rev 1266085)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=eslint
+pkgver=8.22.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=('6881fee50c552932a3bf9e51e96984b911fd66ecc68c84279a6a4cb17dfff77d80627f5ead4744d134428658d6b23bbcc8e59813803e869cded9c350ba6b8fe9')
+
+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