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

Daniel M. Capella polyzen at gemini.archlinux.org
Wed Nov 24 08:05:37 UTC 2021


    Date: Wednesday, November 24, 2021 @ 08:05:37
  Author: polyzen
Revision: 1054616

archrelease: copy trunk to community-any

Added:
  htmlhint/repos/community-any/PKGBUILD
    (from rev 1054615, htmlhint/trunk/PKGBUILD)
Deleted:
  htmlhint/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   92 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 46 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-24 08:05:12 UTC (rev 1054615)
+++ PKGBUILD	2021-11-24 08:05:37 UTC (rev 1054616)
@@ -1,46 +0,0 @@
-# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
-
-_name=HTMLHint
-pkgname=htmlhint
-pkgver=0.16.1
-pkgrel=1
-pkgdesc='Static Code Analysis Tool for your HTML'
-arch=('any')
-url=https://htmlhint.com/
-license=('MIT')
-depends=('nodejs')
-makedepends=('git' 'npm')
-options=('!emptydirs')
-source=("git+https://github.com/htmlhint/HTMLHint.git#tag=v$pkgver")
-b2sums=('SKIP')
-
-prepare() {
-  cd $_name
-  npm ci
-}
-
-build() {
-  cd $_name
-  npm run build
-}
-
-check() {
-  cd $_name
-  npm test
-}
-
-package() {
-  cd $_name
-
-  npm prune --production
-
-  install -d "$pkgdir"/usr/bin
-  ln -s ../lib/node_modules/$pkgname/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
-  install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname
-  cp -r dist node_modules package.json "$pkgdir"/usr/lib/node_modules/$pkgname
-  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname \
-    {CHANGELOG,CONTRIBUTING,README}.md
-  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.md
-}
-
-# vim:set ts=2 sw=2 et:

Copied: htmlhint/repos/community-any/PKGBUILD (from rev 1054615, htmlhint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-24 08:05:37 UTC (rev 1054616)
@@ -0,0 +1,46 @@
+# Maintainer: Daniel M. Capella <polyzen at archlinux.org>
+
+_name=HTMLHint
+pkgname=htmlhint
+pkgver=0.16.3
+pkgrel=1
+pkgdesc='Static Code Analysis Tool for your HTML'
+arch=('any')
+url=https://htmlhint.com/
+license=('MIT')
+depends=('nodejs')
+makedepends=('git' 'npm')
+options=('!emptydirs')
+source=("git+https://github.com/htmlhint/HTMLHint.git#tag=v$pkgver")
+b2sums=('SKIP')
+
+prepare() {
+  cd $_name
+  npm ci
+}
+
+build() {
+  cd $_name
+  npm run build
+}
+
+check() {
+  cd $_name
+  npm test
+}
+
+package() {
+  cd $_name
+
+  npm prune --production
+
+  install -d "$pkgdir"/usr/bin
+  ln -s ../lib/node_modules/$pkgname/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+  install -Dt "$pkgdir"/usr/lib/node_modules/$pkgname/bin bin/$pkgname
+  cp -r dist node_modules package.json "$pkgdir"/usr/lib/node_modules/$pkgname
+  install -Dm644 -t "$pkgdir"/usr/share/doc/$pkgname \
+    {CHANGELOG,CONTRIBUTING,README}.md
+  install -Dm644 -t "$pkgdir"/usr/share/licenses/$pkgname LICENSE.md
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list