[arch-commits] Commit in nodejs-source-map/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Tue Apr 27 10:38:04 UTC 2021


    Date: Tuesday, April 27, 2021 @ 10:38:04
  Author: felixonmars
Revision: 924712

archrelease: copy trunk to community-any

Added:
  nodejs-source-map/repos/community-any/PKGBUILD
    (from rev 924711, nodejs-source-map/trunk/PKGBUILD)
Deleted:
  nodejs-source-map/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   62 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 31 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-27 10:37:50 UTC (rev 924711)
+++ PKGBUILD	2021-04-27 10:38:04 UTC (rev 924712)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_npmname=source-map
-pkgname=nodejs-$_npmname
-pkgver=0.7.3
-pkgrel=1
-pkgdesc="Library to generate and consume the source map format"
-arch=('any')
-url="https://github.com/mozilla/source-map"
-license=('BSD')
-depends=('nodejs')
-makedepends=('npm')
-source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
-noextract=($_npmname-$pkgver.tgz)
-sha256sums=('ad69b787ba774733c3e4f0eb20403df7b1fa466252d453533dbcc6a5ad15833e')
-options=("!strip")
-
-package() {
-  npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$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 -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s ../../../lib/node_modules/source-map/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: nodejs-source-map/repos/community-any/PKGBUILD (from rev 924711, nodejs-source-map/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-04-27 10:38:04 UTC (rev 924712)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_npmname=source-map
+pkgname=nodejs-$_npmname
+pkgver=0.7.3
+pkgrel=2
+pkgdesc="Library to generate and consume the source map format"
+arch=('any')
+url="https://github.com/mozilla/source-map"
+license=('BSD')
+depends=('nodejs')
+makedepends=('npm')
+source=("https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz")
+noextract=($_npmname-$pkgver.tgz)
+sha256sums=('ad69b787ba774733c3e4f0eb20403df7b1fa466252d453533dbcc6a5ad15833e')
+options=("!strip")
+
+package() {
+  npm install -g --prefix "$pkgdir"/usr "$srcdir"/$_npmname-$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 -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s ../../../lib/node_modules/source-map/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list