[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Dec 20 01:18:43 UTC 2021
Date: Monday, December 20, 2021 @ 01:18:43
Author: felixonmars
Revision: 1079164
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 1079163, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-20 01:18:32 UTC (rev 1079163)
+++ PKGBUILD 2021-12-20 01:18:43 UTC (rev 1079164)
@@ -1,43 +0,0 @@
-# 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
-}
Copied: eslint/repos/community-any/PKGBUILD (from rev 1079163, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-20 01:18:43 UTC (rev 1079164)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=eslint
+pkgver=8.5.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=('3def75e6b77c669a1aa81ded6bbfd28309e961377d19259692d1bdbb35e10e27fcfedd312742ea4fbbd8337a10b24e0844482200cf6ce9e5fef145ccb16b54b0')
+
+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