[arch-commits] Commit in semver/repos/community-testing-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Apr 13 20:42:48 UTC 2020
Date: Monday, April 13, 2020 @ 20:42:46
Author: felixonmars
Revision: 613734
archrelease: copy trunk to community-testing-any
Added:
semver/repos/community-testing-any/PKGBUILD
(from rev 613733, semver/trunk/PKGBUILD)
Deleted:
semver/repos/community-testing-any/PKGBUILD
----------+
PKGBUILD | 58 +++++++++++++++++++++++++++++-----------------------------
1 file changed, 29 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-13 20:42:38 UTC (rev 613733)
+++ PKGBUILD 2020-04-13 20:42:46 UTC (rev 613734)
@@ -1,29 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=semver
-pkgver=7.2.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=('668f38bbaa363de6cc48adf38c9e99a79c22f159d066711a08fd77525fe5b7500db0b002c67271ab81049b53d8f78fe9a2bd479bdfbbc6922cc1d4b902489e30')
-
-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 613733, semver/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-13 20:42:46 UTC (rev 613734)
@@ -0,0 +1,29 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=semver
+pkgver=7.2.3
+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=('bad6d6f59ed9c55bf08885a474e30b391f46fcd157876691b9c821915ac43095ae0befabde50a4042dcbc2a0629f21f318c009c58e6d9fa55a91918739bab98a')
+
+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