Daniel M. Capella pushed to branch main at Arch Linux / Packaging / Packages / 
eslint


Commits:
c35a3b70 by Daniel M. Capella at 2023-08-11T18:05:28-04:00
upgpkg: 8.47.0-1

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 # Maintainer: Daniel M. Capella <[email protected]>
 
 pkgname=eslint
-pkgver=8.46.0
+pkgver=8.47.0
 pkgrel=1
 pkgdesc='An AST-based pattern checker for JavaScript'
 arch=('any')
@@ -12,7 +12,7 @@ depends=('acorn' 'nodejs')
 makedepends=('npm' 'rsync')
 options=('!emptydirs')
 
source=("https://github.com/$pkgname/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-b2sums=('d0e7928aa5ad71cd1e3d8a166d0c1a26b992c3d9d4ae1aac5e9910b408d06b0f95d7b9f981b75b5c8b60b382b4308fb1678c5e7ba89dd8e0d10b30b6a9a0ca86')
+b2sums=('f020d7666553e2861fa274d32f36db681b20d5ed2d8ae2463362f2762fcced27125a0f4f03c2f07a41024c1eafef011c0eda1d43e263012fa3d07713bbd50d6c')
 
 prepare() {
   cd $pkgname-$pkgver
@@ -21,17 +21,17 @@ prepare() {
 
 check() {
   cd $pkgname-$pkgver
-  node Makefile mocha
+  node Makefile.js 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
+
+  cd $pkgname-$pkgver
+  npm prune --production
+
   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



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/eslint/-/commit/c35a3b701f6bec8be6a80f1fa23a82585a723e16

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/eslint/-/commit/c35a3b701f6bec8be6a80f1fa23a82585a723e16
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to