[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Monday, August 22, 2022 @ 03:26:53 Author: polyzen Revision: 1274230 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1274229, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 60 ++-- 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-08-22 03:26:30 UTC (rev 1274229) +++ PKGBUILD2022-08-22 03:26:53 UTC (rev 1274230) @@ -1,30 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=27.0.0 -pkgrel=1 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint' 'stylelint-config-recommended') -makedepends=('git' 'npm') -source=("git+$url.git") -b2sums=('SKIP') - -prepare() { - 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,README}.md - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1274229, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-08-22 03:26:53 UTC (rev 1274230) @@ -0,0 +1,30 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=28.0.0 +pkgrel=1 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +makedepends=('git' 'npm') +source=("git+$url.git") +b2sums=('SKIP') + +prepare() { + 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,README}.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +}
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Thursday, August 11, 2022 @ 15:06:02 Author: polyzen Revision: 1265253 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1265252, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 62 + 1 file changed, 30 insertions(+), 32 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-08-11 15:05:44 UTC (rev 1265252) +++ PKGBUILD2022-08-11 15:06:02 UTC (rev 1265253) @@ -1,32 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=26.0.0 -pkgrel=1 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint' 'stylelint-config-recommended') -makedepends=('git' 'npm') -source=("git+$url.git") -b2sums=('SKIP') - -prepare() { - 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,README}.md - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1265252, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-08-11 15:06:02 UTC (rev 1265253) @@ -0,0 +1,30 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=27.0.0 +pkgrel=1 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +makedepends=('git' 'npm') +source=("git+$url.git") +b2sums=('SKIP') + +prepare() { + 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,README}.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +}
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Wednesday, June 8, 2022 @ 14:28:32 Author: polyzen Revision: 1229311 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1229310, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 64 ++--- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-06-08 14:28:07 UTC (rev 1229310) +++ PKGBUILD2022-06-08 14:28:32 UTC (rev 1229311) @@ -1,32 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=25.0.0 -pkgrel=1 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint' 'stylelint-config-recommended') -makedepends=('git' 'npm') -source=("git+$url.git") -b2sums=('SKIP') - -prepare() { - 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,README}.md - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1229310, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-06-08 14:28:32 UTC (rev 1229311) @@ -0,0 +1,32 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=26.0.0 +pkgrel=1 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +makedepends=('git' 'npm') +source=("git+$url.git") +b2sums=('SKIP') + +prepare() { + 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,README}.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Thursday, February 10, 2022 @ 07:21:00 Author: polyzen Revision: 1130887 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1130886, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 64 ++--- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-02-10 07:20:41 UTC (rev 1130886) +++ PKGBUILD2022-02-10 07:21:00 UTC (rev 1130887) @@ -1,32 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=24.0.0 -pkgrel=1 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint' 'stylelint-config-recommended') -makedepends=('git' 'npm') -source=("git+$url.git") -b2sums=('SKIP') - -prepare() { - 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,README}.md - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1130886, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-02-10 07:21:00 UTC (rev 1130887) @@ -0,0 +1,32 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=25.0.0 +pkgrel=1 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +makedepends=('git' 'npm') +source=("git+$url.git") +b2sums=('SKIP') + +prepare() { + 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,README}.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Monday, November 15, 2021 @ 16:24:37 Author: polyzen Revision: 1048321 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1048320, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 64 ++--- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-11-15 16:24:18 UTC (rev 1048320) +++ PKGBUILD2021-11-15 16:24:37 UTC (rev 1048321) @@ -1,32 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=23.0.0 -pkgrel=1 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint' 'stylelint-config-recommended') -makedepends=('git' 'npm') -source=("git+$url.git") -b2sums=('SKIP') - -prepare() { - 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,README}.md - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1048320, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-11-15 16:24:37 UTC (rev 1048321) @@ -0,0 +1,32 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=24.0.0 +pkgrel=1 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +makedepends=('git' 'npm') +source=("git+$url.git") +b2sums=('SKIP') + +prepare() { + 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,README}.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Thursday, October 21, 2021 @ 19:43:28 Author: polyzen Revision: 1032049 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1032048, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 64 ++--- 1 file changed, 32 insertions(+), 32 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-10-21 19:43:10 UTC (rev 1032048) +++ PKGBUILD2021-10-21 19:43:28 UTC (rev 1032049) @@ -1,32 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=22.0.0 -pkgrel=1 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint' 'stylelint-config-recommended') -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,README}.md - install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE -} - -# vim:set ts=2 sw=2 et: Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 1032048, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-10-21 19:43:28 UTC (rev 1032049) @@ -0,0 +1,32 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=23.0.0 +pkgrel=1 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +makedepends=('git' 'npm') +source=("git+$url.git") +b2sums=('SKIP') + +prepare() { + 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,README}.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Saturday, April 24, 2021 @ 21:06:57 Author: polyzen Revision: 923746 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 923745, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 63 ++--- 1 file changed, 32 insertions(+), 31 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-04-24 21:06:38 UTC (rev 923745) +++ PKGBUILD2021-04-24 21:06:57 UTC (rev 923746) @@ -1,31 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=21.0.0 -pkgrel=1 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint' 'stylelint-config-recommended') -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,README}.md -} - -# vim:set ts=2 sw=2 et: Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 923745, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-04-24 21:06:57 UTC (rev 923746) @@ -0,0 +1,32 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=22.0.0 +pkgrel=1 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +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,README}.md + install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Monday, March 8, 2021 @ 03:32:21 Author: polyzen Revision: 886884 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 886883, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 62 ++--- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-03-08 03:32:04 UTC (rev 886883) +++ PKGBUILD2021-03-08 03:32:21 UTC (rev 886884) @@ -1,31 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=20.0.0 -pkgrel=5 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint' 'stylelint-config-recommended') -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,README}.md -} - -# vim:set ts=2 sw=2 et: Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 886883, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-03-08 03:32:21 UTC (rev 886884) @@ -0,0 +1,31 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=21.0.0 +pkgrel=1 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +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,README}.md +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Tuesday, February 16, 2021 @ 21:52:36 Author: polyzen Revision: 862343 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 862342, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 76 - 1 file changed, 31 insertions(+), 45 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-02-16 21:52:01 UTC (rev 862342) +++ PKGBUILD2021-02-16 21:52:36 UTC (rev 862343) @@ -1,45 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=20.0.0 -pkgrel=4 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('stylelint') -makedepends=('git' 'jq' 'npm') -source=("git+$url.git") -b2sums=('SKIP') - -build() { - cd $pkgname - npm ci - npm pack -} - -check() { - cd $pkgname - npm test -} - -package() { - cd $pkgname - npm install --global \ - --user root \ - --prefix "$pkgdir"/usr \ - --production \ - $pkgname-$pkgver.tgz - chown -R root:root "$pkgdir" - - # Remove references to $srcdir and $pkgdir - find "$pkgdir" -name package.json -print0 | xargs -r -0 sed -i '/_where/d' - - local tmppackage="$(mktemp)" - local pkgjson="$pkgdir/usr/lib/node_modules/$pkgname/package.json" - jq '.|=with_entries(select(.key|test("_.+")|not))' "$pkgjson" > "$tmppackage" - mv "$tmppackage" "$pkgjson" - chmod 644 "$pkgjson" -} - -# vim:set ts=2 sw=2 et: Copied: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 862342, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-02-16 21:52:36 UTC (rev 862343) @@ -0,0 +1,31 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=20.0.0 +pkgrel=5 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint' 'stylelint-config-recommended') +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,README}.md +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in stylelint-config-standard/repos/community-any (2 files)
Date: Monday, February 15, 2021 @ 12:05:12 Author: polyzen Revision: 861080 archrelease: copy trunk to community-any Added: stylelint-config-standard/repos/community-any/PKGBUILD (from rev 861078, stylelint-config-standard/trunk/PKGBUILD) Deleted: stylelint-config-standard/repos/community-any/PKGBUILD --+ PKGBUILD | 71 ++--- 1 file changed, 45 insertions(+), 26 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-02-15 12:05:08 UTC (rev 861079) +++ PKGBUILD2021-02-15 12:05:12 UTC (rev 861080) @@ -1,26 +0,0 @@ -# Maintainer: Daniel M. Capella - -pkgname=stylelint-config-standard -pkgver=20.0.0 -pkgrel=3 -pkgdesc='Standard shareable config for stylelint' -arch=('any') -url=https://github.com/stylelint/stylelint-config-standard -license=('MIT') -depends=('nodejs' 'stylelint') -makedepends=('npm') -source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz;) -noextract=("$pkgname-$pkgver.tgz") -sha512sums=('201da215dcce4c0ff34b88d255abfacfec06b629f4f2a7e3f98c84c470772c5f659e8b9086dfff632074299abd806cf91cd3e475d1cecdc63c1ec51ecba65494') - -package() { - npm install -g --user root --prefix "$pkgdir"/usr --ignore-scripts --production $pkgname-$pkgver.tgz - - cd "$pkgdir" - # License not yet added to repo - #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-config-standard/repos/community-any/PKGBUILD (from rev 861078, stylelint-config-standard/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-02-15 12:05:12 UTC (rev 861080) @@ -0,0 +1,45 @@ +# Maintainer: Daniel M. Capella + +pkgname=stylelint-config-standard +pkgver=20.0.0 +pkgrel=4 +pkgdesc='Standard shareable config for stylelint' +arch=('any') +url=https://github.com/stylelint/stylelint-config-standard +license=('MIT') +depends=('stylelint') +makedepends=('git' 'jq' 'npm') +source=("git+$url.git") +b2sums=('SKIP') + +build() { + cd $pkgname + npm ci + npm pack +} + +check() { + cd $pkgname + npm test +} + +package() { + cd $pkgname + npm install --global \ + --user root \ + --prefix "$pkgdir"/usr \ + --production \ + $pkgname-$pkgver.tgz + chown -R root:root "$pkgdir" + + # Remove references to $srcdir and $pkgdir + find "$pkgdir" -name package.json -print0 | xargs -r -0 sed -i '/_where/d' + + local tmppackage="$(mktemp)" + local pkgjson="$pkgdir/usr/lib/node_modules/$pkgname/package.json" + jq '.|=with_entries(select(.key|test("_.+")|not))' "$pkgjson" > "$tmppackage" + mv "$tmppackage" "$pkgjson" + chmod 644 "$pkgjson" +} + +# vim:set ts=2 sw=2 et: