[arch-commits] Commit in acorn/repos (2 files)
Date: Wednesday, September 7, 2016 @ 08:27:09 Author: felixonmars Revision: 188913 archrelease: copy trunk to community-testing-any Added: acorn/repos/community-testing-any/ acorn/repos/community-testing-any/PKGBUILD (from rev 188912, acorn/trunk/PKGBUILD) --+ PKGBUILD | 23 +++ 1 file changed, 23 insertions(+) Copied: acorn/repos/community-testing-any/PKGBUILD (from rev 188912, acorn/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2016-09-07 08:27:09 UTC (rev 188913) @@ -0,0 +1,23 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgname=acorn +pkgver=4.0.0 +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=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +md5sums=('0a7599826be83b50cd82888352607ab5') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + rm -r "$pkgdir"/usr/etc + + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" +}
[arch-commits] Commit in acorn/repos (2 files)
Date: Wednesday, August 12, 2020 @ 20:51:22 Author: felixonmars Revision: 676759 archrelease: copy trunk to community-testing-any Added: acorn/repos/community-testing-any/ acorn/repos/community-testing-any/PKGBUILD (from rev 676758, acorn/trunk/PKGBUILD) --+ PKGBUILD | 30 ++ 1 file changed, 30 insertions(+) Copied: acorn/repos/community-testing-any/PKGBUILD (from rev 676758, acorn/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2020-08-12 20:51:22 UTC (rev 676759) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan + +pkgname=acorn +pkgver=8.0.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=('c2e26606f28ff699233ddda6fbab2435c80ae92e3775fe5c45b513590967b3caee91cbb96dc4afc7d7998ef3574ed15ee3ea02b2502f221342bd805effaf7133') + +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/" +}
[arch-commits] Commit in acorn/repos (2 files)
Date: Wednesday, August 14, 2019 @ 04:33:31 Author: felixonmars Revision: 499099 archrelease: copy trunk to community-testing-any Added: acorn/repos/community-testing-any/ acorn/repos/community-testing-any/PKGBUILD (from rev 499098, acorn/trunk/PKGBUILD) --+ PKGBUILD | 22 ++ 1 file changed, 22 insertions(+) Copied: acorn/repos/community-testing-any/PKGBUILD (from rev 499098, acorn/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-08-14 04:33:31 UTC (rev 499099) @@ -0,0 +1,22 @@ +# Maintainer: Felix Yan + +pkgname=acorn +pkgver=7.0.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=('3da17f31dbb18a3618b7bba754646e76cd6f042f5b1716cd7fe556aa138295f760cbb46556442ab7ad748a0d7fcb14e0b0321f5b57160de9791016cecb78ddb5') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" +}
[arch-commits] Commit in acorn/repos (2 files)
Date: Thursday, July 4, 2019 @ 14:51:14 Author: felixonmars Revision: 487436 archrelease: copy trunk to community-testing-any Added: acorn/repos/community-testing-any/ acorn/repos/community-testing-any/PKGBUILD (from rev 487435, acorn/trunk/PKGBUILD) --+ PKGBUILD | 22 ++ 1 file changed, 22 insertions(+) Copied: acorn/repos/community-testing-any/PKGBUILD (from rev 487435, acorn/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2019-07-04 14:51:14 UTC (rev 487436) @@ -0,0 +1,22 @@ +# Maintainer: Felix Yan + +pkgname=acorn +pkgver=6.2.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=('f287bbd8ddd63cc8c0fb6cd51bbd486b49d767c0e9407f90cb21cefa9d3a8d3f1e83c1461b715b714222f0ace21e501f85e25065ea2a6efab59904901d72982f') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" +}
[arch-commits] Commit in acorn/repos (2 files)
Date: Friday, September 14, 2018 @ 16:11:42 Author: felixonmars Revision: 380914 archrelease: copy trunk to community-testing-any Added: acorn/repos/community-testing-any/ acorn/repos/community-testing-any/PKGBUILD (from rev 380913, acorn/trunk/PKGBUILD) --+ PKGBUILD | 21 + 1 file changed, 21 insertions(+) Copied: acorn/repos/community-testing-any/PKGBUILD (from rev 380913, acorn/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-09-14 16:11:42 UTC (rev 380914) @@ -0,0 +1,21 @@ +# Maintainer: Felix Yan + +pkgname=acorn +pkgver=6.0.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=('4a2c20ad1b910f60f547aaa3c30a28a4a7024e49a62168f2d4cd795aff8d93fed552c05a7783fc18e3dfb76b7a7280d91b44ee47976af68d6fd20f30a3b17af8') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" +}
[arch-commits] Commit in acorn/repos (2 files)
Date: Saturday, November 10, 2018 @ 20:35:16 Author: felixonmars Revision: 405729 archrelease: copy trunk to community-testing-any Added: acorn/repos/community-testing-any/ acorn/repos/community-testing-any/PKGBUILD (from rev 405728, acorn/trunk/PKGBUILD) --+ PKGBUILD | 22 ++ 1 file changed, 22 insertions(+) Copied: acorn/repos/community-testing-any/PKGBUILD (from rev 405728, acorn/trunk/PKGBUILD) === --- community-testing-any/PKGBUILD (rev 0) +++ community-testing-any/PKGBUILD 2018-11-10 20:35:16 UTC (rev 405729) @@ -0,0 +1,22 @@ +# Maintainer: Felix Yan + +pkgname=acorn +pkgver=6.0.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=('558e22e442922a4a1f63623ee902d36d34cdfd4bc440f0a8e9e8b0cf349a4967e968384e992b4c08ca1deb09ae3dc88dabe5d2d1f68282516eda51d9a5d1d4b6') + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz + + mkdir -p "$pkgdir/usr/share/licenses/$pkgname" + ln -s "../../../lib/node_modules/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" +}