[arch-commits] Commit in stylelint/repos/community-any (PKGBUILD PKGBUILD)

Daniel M. Capella polyzen at archlinux.org
Wed Jan 20 06:35:23 UTC 2021


    Date: Wednesday, January 20, 2021 @ 06:35:23
  Author: polyzen
Revision: 823931

archrelease: copy trunk to community-any

Added:
  stylelint/repos/community-any/PKGBUILD
    (from rev 823930, stylelint/trunk/PKGBUILD)
Deleted:
  stylelint/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   55 +++++++++++++++++++++++++++++--------------------------
 1 file changed, 29 insertions(+), 26 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-20 06:35:01 UTC (rev 823930)
+++ PKGBUILD	2021-01-20 06:35:23 UTC (rev 823931)
@@ -1,26 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=stylelint
-pkgver=13.8.0
-pkgrel=1
-pkgdesc='Mighty, modern CSS linter'
-arch=('any')
-url=https://stylelint.io
-license=('MIT')
-depends=('nodejs')
-makedepends=('npm')
-optdepends=('stylelint-config-standard: for the standard shareable config')
-source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
-noextract=("$pkgname-$pkgver.tgz")
-sha512sums=('8871f776fdd4236dd22c3ac7e333100e32d3f7f743233fc8a6815eb8dc59984c7ce8ab5fa630ceb1cc4b4c58a8432bfedaf4233e54599cad14a09b5fc4b2025d')
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr --ignore-scripts --production $pkgname-$pkgver.tgz
-
-  cd "$pkgdir"
-  mkdir -p usr/share/licenses/$pkgname
-  mv usr/lib/node_modules/$pkgname/LICENSE usr/share/licenses/$pkgname
-  chown -R root:root .
-}
-
-# vim:set ts=2 sw=2 et:

Copied: stylelint/repos/community-any/PKGBUILD (from rev 823930, stylelint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-20 06:35:23 UTC (rev 823931)
@@ -0,0 +1,29 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=stylelint
+pkgver=13.9.0
+pkgrel=1
+pkgdesc='Mighty, modern CSS linter'
+arch=('any')
+url=https://stylelint.io
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+optdepends=('stylelint-config-standard: for the standard shareable config')
+source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
+noextract=("$pkgname-$pkgver.tgz")
+b2sums=('6ba746f54fc42950c7916635b717f3ef8851c0aee2f999b56ce52248d35225f9ba65306638c92c45b1e26f10aa09a2c532d55ba89334e44f53402f769303cc76')
+
+package() {
+  npm install --global \
+              --user root \
+              --prefix "$pkgdir"/usr \
+              --production \
+              $pkgname-$pkgver.tgz
+  chown -R root:root "$pkgdir" # Workaround until npm >=7.4.0 hits repos
+  install -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -rs ../lib/node_modules/$pkgname/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list