[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Sun Jun 5 07:55:54 UTC 2022
Date: Sunday, June 5, 2022 @ 07:55:53
Author: polyzen
Revision: 1222847
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 1222846, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-05 07:55:26 UTC (rev 1222846)
+++ PKGBUILD 2022-06-05 07:55:53 UTC (rev 1222847)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=eslint
-pkgver=8.16.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=('c1728cf447bbafb7ab0aa9d244d2252a730d24313c144751febd222f6808ebbf35a089bcb830811955b719b5eeca2bb3ffa2bf0c83d513991f94588ac449765e')
-
-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 1222846, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-05 07:55:53 UTC (rev 1222847)
@@ -0,0 +1,43 @@
+# 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
+}
More information about the arch-commits
mailing list