Date: Thursday, January 3, 2019 @ 20:46:40 Author: felixonmars Revision: 420366
archrelease: copy trunk to community-any Added: acorn/repos/community-any/PKGBUILD (from rev 420365, acorn/trunk/PKGBUILD) Deleted: acorn/repos/community-any/PKGBUILD ----------+ PKGBUILD | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-01-03 20:46:22 UTC (rev 420365) +++ PKGBUILD 2019-01-03 20:46:40 UTC (rev 420366) @@ -1,22 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -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/" -} Copied: acorn/repos/community-any/PKGBUILD (from rev 420365, acorn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-01-03 20:46:40 UTC (rev 420366) @@ -0,0 +1,22 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=acorn +pkgver=6.0.5 +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=('8b7dd9829dd75ad99904c36f0abe1acef385796570d5193aa7785f8b72d40ef205ada38ccb06f5900b6b6e2fa679dd789b85dfa6a9b7cd164c4fe73414d13b92') + +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/" +}