Date: Sunday, November 6, 2022 @ 13:59:26
Author: felixonmars
Revision: 1342784
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 1342783, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-06 13:59:14 UTC (rev 1342783)
+++ PKGBUILD 2022-11-06 13:59:26 UTC (rev 1342784)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Maintainer: Daniel M. Capella <[email protected]>
-
-pkgname=eslint
-pkgver=8.26.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=('5be0629c8c4b91eb8465ad8c578c2c3a724cc208819d756990eca191a304ef241ecf6bf1a88e49b9c8cd10578540c07e73b8cd8508e3c53363b1eac3141ea007')
-
-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 1342783,
eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-06 13:59:26 UTC (rev 1342784)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <[email protected]>
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=eslint
+pkgver=8.27.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=('d816d17808a1851e99ef0aea71beaf74a6bfcee58cf87784eba44cb811e7082cfd8c8ed668b311908861c09a65eaead524f9dae8cb78ba9ecad0af184f7b9ed8')
+
+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
+}