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

Felix Yan felixonmars at archlinux.org
Sun Mar 28 12:41:13 UTC 2021


    Date: Sunday, March 28, 2021 @ 12:41:12
  Author: felixonmars
Revision: 906808

archrelease: copy trunk to community-any

Added:
  grunt-cli/repos/community-any/PKGBUILD
    (from rev 906807, grunt-cli/trunk/PKGBUILD)
Deleted:
  grunt-cli/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   78 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 39 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-28 12:40:57 UTC (rev 906807)
+++ PKGBUILD	2021-03-28 12:41:12 UTC (rev 906808)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Mario Finelli <mario dot finelli at yahoo dot com>
-# Contributor: Andy Weidenbaum <archbaum at gmail dot com>
-# Contributor: Peter Wu <lekensteyn at gmail dot com>
-
-pkgname=grunt-cli
-pkgver=1.3.2
-pkgrel=2
-pkgdesc="The grunt command line interface."
-arch=('any')
-url="https://gruntjs.com/"
-license=('MIT')
-depends=('nodejs')
-makedepends=('npm')
-source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz"
-        "$pkgname-$pkgver.LICENSE::https://github.com/gruntjs/grunt-cli/raw/v$pkgver/LICENSE-MIT")
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('f0e1c3899664729b71557b4c7c3c49be637b31524d13c2ffc8870f6f81c1ed3972143d640ef8c7adbeb6ba1c92b14d78c09c7d3913274ee851310e34947fe8ad'
-            'e10d81276cacf81f58deca8411a4d3ab0d5213ef4829d755ea0056c0da5ccad600e3b172cdc47949b07b575cf03773f64d9e46b644f99764a051f7f3bca5f903')
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
-
-  # Non-deterministic race in npm gives 777 permissions to random directories.
-  # See https://github.com/npm/npm/issues/9359 for details.
-  chmod -R u=rwX,go=rX "$pkgdir"
-
-  # npm installs package.json owned by build user
-  # https://bugs.archlinux.org/task/63396
-  chown -R root:root "$pkgdir"
-
-  # install completions properly
-  install -Dm644 "$pkgdir"/usr/lib/node_modules/grunt-cli/completion/bash \
-    "$pkgdir"/usr/share/bash-completion/completions/grunt-cli
-  install -Dm644 "$pkgdir"/usr/lib/node_modules/grunt-cli/completion/zsh \
-    "$pkgdir"/usr/share/zsh/site-functions/_grunt-cli
-
-  install -Dm644 "$srcdir"/$pkgname-$pkgver.LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: grunt-cli/repos/community-any/PKGBUILD (from rev 906807, grunt-cli/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-28 12:41:12 UTC (rev 906808)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Mario Finelli <mario dot finelli at yahoo dot com>
+# Contributor: Andy Weidenbaum <archbaum at gmail dot com>
+# Contributor: Peter Wu <lekensteyn at gmail dot com>
+
+pkgname=grunt-cli
+pkgver=1.4.1
+pkgrel=1
+pkgdesc="The grunt command line interface."
+arch=('any')
+url="https://gruntjs.com/"
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz"
+        "$pkgname-$pkgver.LICENSE::https://github.com/gruntjs/grunt-cli/raw/v$pkgver/LICENSE-MIT")
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('c08b6e23a04406732fd62f7f3d83abec344009e376593ca84af994b4011d4d5c4d14b7fda77f9f566a6da30dff2c1b24bce9c807d8be90a996834678afc4d7b7'
+            'e10d81276cacf81f58deca8411a4d3ab0d5213ef4829d755ea0056c0da5ccad600e3b172cdc47949b07b575cf03773f64d9e46b644f99764a051f7f3bca5f903')
+
+package() {
+  npm install -g --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+  # Non-deterministic race in npm gives 777 permissions to random directories.
+  # See https://github.com/npm/npm/issues/9359 for details.
+  chmod -R u=rwX,go=rX "$pkgdir"
+
+  # npm installs package.json owned by build user
+  # https://bugs.archlinux.org/task/63396
+  chown -R root:root "$pkgdir"
+
+  # install completions properly
+  install -Dm644 "$pkgdir"/usr/lib/node_modules/grunt-cli/completion/bash \
+    "$pkgdir"/usr/share/bash-completion/completions/grunt-cli
+  install -Dm644 "$pkgdir"/usr/lib/node_modules/grunt-cli/completion/zsh \
+    "$pkgdir"/usr/share/zsh/site-functions/_grunt-cli
+
+  install -Dm644 "$srcdir"/$pkgname-$pkgver.LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list