[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Tue Dec 7 02:54:51 UTC 2021
Date: Tuesday, December 7, 2021 @ 02:54:51
Author: polyzen
Revision: 1065438
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 1065437, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-07 02:54:28 UTC (rev 1065437)
+++ PKGBUILD 2021-12-07 02:54:51 UTC (rev 1065438)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=eslint
-pkgver=8.3.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=('ea0da8c8da5c124ca951938f7c1267977da6c1350a3c4a08b6eaa3f8457520a4bcdd02bc8e4421f186154e68867fe6a070de95575532ff764a76b0598a40d520')
-
-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 1065437, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-07 02:54:51 UTC (rev 1065438)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=eslint
+pkgver=8.4.1
+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=('da297e857d05777be0ab56ebe8b02e774316236cee1dffe785f4b2e1f5d44ac261d45be215e541d4423f1bd09876548151b9c88395f2c97a89d68b87e941158c')
+
+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