Date: Monday, April 24, 2023 @ 02:59:18
Author: polyzen
Revision: 1448448
archrelease: copy trunk to community-any
Added:
stylelint/repos/community-any/PKGBUILD
(from rev 1448447, stylelint/trunk/PKGBUILD)
Deleted:
stylelint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-24 02:58:54 UTC (rev 1448447)
+++ PKGBUILD 2023-04-24 02:59:18 UTC (rev 1448448)
@@ -1,40 +0,0 @@
-# Maintainer: Daniel M. Capella <[email protected]>
-
-pkgname=stylelint
-pkgver=15.5.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')
-options=('!emptydirs')
-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
-}
Copied: stylelint/repos/community-any/PKGBUILD (from rev 1448447,
stylelint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-24 02:59:18 UTC (rev 1448448)
@@ -0,0 +1,40 @@
+# Maintainer: Daniel M. Capella <[email protected]>
+
+pkgname=stylelint
+pkgver=15.6.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')
+options=('!emptydirs')
+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
+}