[arch-commits] Commit in stylelint-config-recommended/repos (2 files)

Daniel M. Capella polyzen at archlinux.org
Tue Feb 16 21:05:54 UTC 2021


    Date: Tuesday, February 16, 2021 @ 21:05:54
  Author: polyzen
Revision: 862335

archrelease: copy trunk to community-any

Added:
  stylelint-config-recommended/repos/community-any/
  stylelint-config-recommended/repos/community-any/PKGBUILD
    (from rev 862334, stylelint-config-recommended/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: stylelint-config-recommended/repos/community-any/PKGBUILD (from rev 862334, stylelint-config-recommended/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-02-16 21:05:54 UTC (rev 862335)
@@ -0,0 +1,31 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=stylelint-config-recommended
+pkgver=3.0.0
+pkgrel=1
+pkgdesc='Recommended shareable config for stylelint'
+arch=('any')
+url=https://github.com/stylelint/stylelint-config-recommended
+license=('MIT')
+makedepends=('git' 'npm')
+source=("git+$url.git")
+b2sums=('SKIP')
+
+build() {
+  cd $pkgname
+  npm ci
+}
+
+check() {
+  cd $pkgname
+  npm test
+}
+
+package() {
+  cd $pkgname
+  install -Dm644 -t "$pkgdir"/usr/lib/node_modules/$pkgname index.js
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname CHANGELOG.md README.md
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list