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


Commits:
79fa9162 by Daniel M. Capella at 2023-12-08T16:35:58-05:00
upgpkg: 16.0.1-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = stylelint
        pkgdesc = Mighty, modern CSS linter
-       pkgver = 15.11.0
+       pkgver = 16.0.1
        pkgrel = 1
        url = https://stylelint.io
        arch = any
@@ -11,7 +11,7 @@ pkgbase = stylelint
        depends = nodejs
        optdepends = stylelint-config-standard: for the standard shareable 
config
        options = !emptydirs
-       source = git+https://github.com/stylelint/stylelint.git#tag=15.11.0
+       source = git+https://github.com/stylelint/stylelint.git#tag=16.0.1
        b2sums = SKIP
 
 pkgname = stylelint


=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
 # Maintainer: Daniel M. Capella <[email protected]>
 
 pkgname=stylelint
-pkgver=15.11.0
+pkgver=16.0.1
 pkgrel=1
 pkgdesc='Mighty, modern CSS linter'
 arch=('any')
@@ -25,15 +25,15 @@ check() {
 }
 
 package() {
-  local _npmdir=/usr/lib/node_modules/$pkgname
-  install -d "$pkgdir"/{usr/bin,usr/share/doc/$pkgname,$_npmdir}
-  ln -s $_npmdir/bin/$pkgname.mjs "$pkgdir"/usr/bin/$pkgname
+  local mod_dir=/usr/lib/node_modules/$pkgname
+  install -d "$pkgdir"/{usr/bin,usr/share/doc/$pkgname,$mod_dir}
+  ln -s $mod_dir/bin/$pkgname.mjs "$pkgdir"/usr/bin/$pkgname
 
   cd $pkgname
   npm prune --production
 
-  rsync -r --exclude=__tests__ --exclude=lib/testUtils lib "$pkgdir"/$_npmdir
-  cp -r bin node_modules package.json "$pkgdir"/$_npmdir
+  rsync -r --exclude=__tests__ --exclude=lib/testUtils lib "$pkgdir"/$mod_dir
+  cp -r bin node_modules package.json "$pkgdir"/$mod_dir
   cp -r {CHANGELOG,CONTRIBUTING,README}.md docs 
"$pkgdir"/usr/share/doc/$pkgname
   install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/stylelint/-/commit/79fa9162dfc71c8236650fe0105a77f0a8bccab0

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


Reply via email to