[arch-commits] Commit in acorn/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 3 20:27:05 UTC 2020
Date: Tuesday, March 3, 2020 @ 20:27:05
Author: felixonmars
Revision: 589836
archrelease: copy trunk to community-any
Added:
acorn/repos/community-any/PKGBUILD
(from rev 589835, acorn/trunk/PKGBUILD)
Deleted:
acorn/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-03 20:26:53 UTC (rev 589835)
+++ PKGBUILD 2020-03-03 20:27:05 UTC (rev 589836)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=acorn
-pkgver=7.1.0
-epoch=1
-pkgrel=2
-pkgdesc='A tiny, fast JavaScript parser, written completely in JavaScript.'
-arch=('any')
-url='https://github.com/ternjs/acorn'
-license=('MIT')
-depends=('nodejs')
-makedepends=('npm')
-source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-sha512sums=('90be42ba85c0fdd8319416d5adf96c7e5cd0dcf01ab3b458641e7634e9bfebcdfd89560980a309ddc4090feb768b9faa15af21dcc0e910e2624bae04f092e749')
-
-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"
-
- mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
- ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
-}
Copied: acorn/repos/community-any/PKGBUILD (from rev 589835, acorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-03 20:27:05 UTC (rev 589836)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=acorn
+pkgver=7.1.1
+epoch=1
+pkgrel=1
+pkgdesc='A tiny, fast JavaScript parser, written completely in JavaScript.'
+arch=('any')
+url='https://github.com/ternjs/acorn'
+license=('MIT')
+depends=('nodejs')
+makedepends=('npm')
+source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+sha512sums=('69d77b760039a6944fc42149a0019f3038bb3c8057ab546d1a8ec185b2dac70ad73ce9b0f20ab8f18f68cd3d358542b2f5bc8c8e5476d04261bb9ce5904ac492')
+
+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"
+
+ mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+ ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+}
More information about the arch-commits
mailing list