[arch-commits] Commit in eslint/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sat Aug 27 11:34:39 UTC 2022
Date: Saturday, August 27, 2022 @ 11:34:38
Author: felixonmars
Revision: 1284763
archrelease: copy trunk to community-any
Added:
eslint/repos/community-any/PKGBUILD
(from rev 1284762, eslint/trunk/PKGBUILD)
Deleted:
eslint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-27 11:34:23 UTC (rev 1284762)
+++ PKGBUILD 2022-08-27 11:34:38 UTC (rev 1284763)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=eslint
-pkgver=8.22.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=('6881fee50c552932a3bf9e51e96984b911fd66ecc68c84279a6a4cb17dfff77d80627f5ead4744d134428658d6b23bbcc8e59813803e869cded9c350ba6b8fe9')
-
-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 1284762, eslint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-27 11:34:38 UTC (rev 1284763)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=eslint
+pkgver=8.23.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=('377c21bc440ab84f169517fe478b8a540953e2ed3e1af9d7679c74c3a35bf084bd4a3511276506d371010e64140c6c587be090fc65ff0bc00416bc024849e1c5')
+
+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
+}
More information about the arch-commits
mailing list