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

Felix Yan felixonmars at archlinux.org
Wed May 5 16:16:29 UTC 2021


    Date: Wednesday, May 5, 2021 @ 16:16:28
  Author: felixonmars
Revision: 927751

archrelease: copy trunk to community-any

Added:
  acorn/repos/community-any/PKGBUILD
    (from rev 927750, acorn/trunk/PKGBUILD)
Deleted:
  acorn/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   60 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 30 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-05 16:15:59 UTC (rev 927750)
+++ PKGBUILD	2021-05-05 16:16:28 UTC (rev 927751)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=acorn
-pkgver=8.2.3
-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=('209de4a2182b08601566b4c0736b9f6f61e4d8801d9194eb307a3d0d80c2e615f8d47adc6af9482f49f1df53502dd4a480093cc84ee8152c0f5585f5ec758d1f')
-
-package() {
-  npm install -g --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 927750, acorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-05 16:16:28 UTC (rev 927751)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=acorn
+pkgver=8.2.4
+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=('21bb7ce18c010c303cf74783883084a9c6f0bc7941bf3cc3914d9c1810430c8d50593d768d389720e9f6088c3928ae22e8de59d87531c188f3ae20f2a9aaaa66')
+
+package() {
+  npm install -g --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