[arch-commits] Commit in semver/repos/community-testing-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 16 06:38:45 UTC 2020
Date: Thursday, April 16, 2020 @ 06:38:45
Author: felixonmars
Revision: 615216
archrelease: copy trunk to community-testing-any
Added:
semver/repos/community-testing-any/PKGBUILD
(from rev 615215, semver/trunk/PKGBUILD)
Deleted:
semver/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-16 06:38:34 UTC (rev 615215)
+++ PKGBUILD 2020-04-16 06:38:45 UTC (rev 615216)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=semver
-pkgver=7.3.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=('afbb0110294a0df0c584f41f224d83f8417be124b58f8bb27eda39d3f296411cd08fc21e283ef0a8b6f092a6f7df6f3daeda906682b3203e5639abe427adc31a')
-
-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 615215, semver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-16 06:38:45 UTC (rev 615216)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=semver
+pkgver=7.3.2
+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=('3ab39bdf64de79a99b1fa52b86d4a1985ec2443aa12faff95e93cda760ee447ebef502f0fe8ae1a7bda3f3bbfc41ad5270392faeb04da597037a3022ac999f5d')
+
+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