[arch-commits] Commit in acorn/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Jun 11 21:53:22 UTC 2021
Date: Friday, June 11, 2021 @ 21:53:22
Author: felixonmars
Revision: 962896
archrelease: copy trunk to community-any
Added:
acorn/repos/community-any/PKGBUILD
(from rev 962895, acorn/trunk/PKGBUILD)
Deleted:
acorn/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-11 21:53:11 UTC (rev 962895)
+++ PKGBUILD 2021-06-11 21:53:22 UTC (rev 962896)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=acorn
-pkgver=8.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=('b6a3ca1d9e42681270d179b2d1966f2ecd6a4d5f813454b2be7efb0125e4a4135f21193c7afdba7caac3f622c6c0603dcde74f6a8e761921f3abc972646d0d53')
-
-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 962895, acorn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-11 21:53:22 UTC (rev 962896)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=acorn
+pkgver=8.4.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=('50baf42c3684a90acc146c90ddb84990bb1bb6b43c4226c0b1e19979a494893ffacdbf48bc89289961c922f82fc1a77e8629d1020b08e7525c5a4db2bf0c8bfb')
+
+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