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

Felix Yan felixonmars at archlinux.org
Thu Apr 9 00:27:02 UTC 2020


    Date: Thursday, April 9, 2020 @ 00:27:01
  Author: felixonmars
Revision: 612857

archrelease: copy trunk to community-testing-any

Added:
  semver/repos/community-testing-any/PKGBUILD
    (from rev 612856, semver/trunk/PKGBUILD)
Deleted:
  semver/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |   58 +++++++++++++++++++++++++++++-----------------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-09 00:26:51 UTC (rev 612856)
+++ PKGBUILD	2020-04-09 00:27:01 UTC (rev 612857)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=semver
-pkgver=7.2.0
-pkgrel=1
-pkgdesc='The semantic version parser used by npm.'
-arch=('any')
-url='https://github.com/npm/node-semver'
-license=('ISC')
-depends=('nodejs')
-makedepends=('npm')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('54e431502460b6dbbb9b1baf020b1e9529689355e83978eee97489753068f3ef11b2f9cfc0a5c466d6552afce5362813d665c7d9f0eea5c4fca17f15c35566db')
-
-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 -d "$pkgdir"/usr/share/licenses/$pkgname
-  ln -s ../../../lib/node_modules/$pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: semver/repos/community-testing-any/PKGBUILD (from rev 612856, semver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-09 00:27:01 UTC (rev 612857)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=semver
+pkgver=7.2.1
+pkgrel=1
+pkgdesc='The semantic version parser used by npm.'
+arch=('any')
+url='https://github.com/npm/node-semver'
+license=('ISC')
+depends=('nodejs')
+makedepends=('npm')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('687866d690f4da35d7932229ab6e6a0598ebdc242083c2924fcb97d0e597721df113a8f0fb56df6d69c28f3330a23b13aaeae85262851cdcd4eb1dba984891c7')
+
+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 -d "$pkgdir"/usr/share/licenses/$pkgname
+  ln -s ../../../lib/node_modules/$pkgname/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list