Date: Monday, May 8, 2023 @ 06:14:31
Author: polyzen
Revision: 1459441
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 1459440, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-08 06:14:11 UTC (rev 1459440)
+++ PKGBUILD 2023-05-08 06:14:31 UTC (rev 1459441)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Maintainer: Daniel M. Capella <[email protected]>
-
-pkgname=eslint
-pkgver=8.39.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=('ae9961139e64bdf68fd1ea2eea25fcefc0aeb90f6de06decaf20116302b2658a852106f3ac9b5e60865b56c244c0d896d715a8f5db02613558de05a16e31f56e')
-
-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 1459440,
eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-08 06:14:31 UTC (rev 1459441)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=eslint
+pkgver=8.40.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=('a2fd5cfba9ce6d4415038095374c27e40516c3c59b9cd67073e75916eec31aa31a3f63f451e40371db64336e700f531ffce9f49ba79ec862d9ce389e0c96e816')
+
+prepare() {
+ cd $pkgname-$pkgver
+ npm install
+}
+
+check() {
+ cd $pkgname-$pkgver
+ node Makefile mocha
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ npm prune --production
+
+ local _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
+}