[arch-commits] Commit in acorn/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 12 05:28:02 UTC 2020
Date: Friday, June 12, 2020 @ 05:28:02
Author: felixonmars
Revision: 642208
archrelease: copy trunk to community-any
Added:
acorn/repos/community-any/PKGBUILD
(from rev 642206, acorn/trunk/PKGBUILD)
Deleted:
acorn/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-12 05:27:56 UTC (rev 642207)
+++ PKGBUILD 2020-06-12 05:28:02 UTC (rev 642208)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=acorn
-pkgver=7.3.0
-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=('43fade7ad7a37f561ff2f63bc32648f033acaccafdafb45f9c360156321d13ad5193c6ad5246d5d4aca2fdd889ce001688388710f5a9368aa93dbfb60946ee75')
-
-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 642206, acorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-06-12 05:28:02 UTC (rev 642208)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=acorn
+pkgver=7.3.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=('b4b734c129dab710101d51d46a9687773ef6a62f4a5321e3ab92b21e31a0f58f087dd73bf694e1d97bc8e88d7f72165b9cced0b4d2b387aea8a03a203d94a578')
+
+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