[arch-commits] Commit in stylelint/repos/community-any (PKGBUILD PKGBUILD)
Daniel M. Capella
polyzen at gemini.archlinux.org
Mon Nov 15 16:25:32 UTC 2021
Date: Monday, November 15, 2021 @ 16:25:32
Author: polyzen
Revision: 1048324
archrelease: copy trunk to community-any
Added:
stylelint/repos/community-any/PKGBUILD
(from rev 1048323, stylelint/trunk/PKGBUILD)
Deleted:
stylelint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 41 insertions(+), 41 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-15 16:25:13 UTC (rev 1048323)
+++ PKGBUILD 2021-11-15 16:25:32 UTC (rev 1048324)
@@ -1,41 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-pkgname=stylelint
-pkgver=14.0.1
-pkgrel=1
-pkgdesc='Mighty, modern CSS linter'
-arch=('any')
-url=https://stylelint.io
-license=('MIT')
-depends=('nodejs')
-makedepends=('git' 'npm' 'rsync')
-optdepends=('stylelint-config-standard: for the standard shareable config')
-source=("git+https://github.com/stylelint/stylelint.git#tag=$pkgver")
-b2sums=('SKIP')
-
-prepare() {
- cd $pkgname
- npm ci
-}
-
-check() {
- cd $pkgname
- npm test
-}
-
-package() {
- cd $pkgname
-
- npm prune --production
-
- install -d "$pkgdir"/usr/{bin,share/doc/$pkgname}
- ln -s ../lib/node_modules/$pkgname/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
- install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname.js
- rsync -r --exclude __tests__ --exclude lib/testUtils lib \
- "$pkgdir"/usr/lib/node_modules/$pkgname
- cp -r node_modules package.json "$pkgdir"/usr/lib/node_modules/$pkgname
- cp -r {CHANGELOG,CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
- install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: stylelint/repos/community-any/PKGBUILD (from rev 1048323, stylelint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-15 16:25:32 UTC (rev 1048324)
@@ -0,0 +1,41 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+pkgname=stylelint
+pkgver=14.1.0
+pkgrel=1
+pkgdesc='Mighty, modern CSS linter'
+arch=('any')
+url=https://stylelint.io
+license=('MIT')
+depends=('nodejs')
+makedepends=('git' 'npm' 'rsync')
+optdepends=('stylelint-config-standard: for the standard shareable config')
+source=("git+https://github.com/stylelint/stylelint.git#tag=$pkgver")
+b2sums=('SKIP')
+
+prepare() {
+ cd $pkgname
+ npm ci
+}
+
+check() {
+ cd $pkgname
+ npm test
+}
+
+package() {
+ cd $pkgname
+
+ npm prune --production
+
+ install -d "$pkgdir"/usr/{bin,share/doc/$pkgname}
+ ln -s ../lib/node_modules/$pkgname/bin/$pkgname.js "$pkgdir"/usr/bin/$pkgname
+ install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname.js
+ rsync -r --exclude __tests__ --exclude lib/testUtils lib \
+ "$pkgdir"/usr/lib/node_modules/$pkgname
+ cp -r node_modules package.json "$pkgdir"/usr/lib/node_modules/$pkgname
+ cp -r {CHANGELOG,CONTRIBUTING,README}.md docs "$pkgdir"/usr/share/doc/$pkgname
+ install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list