Date: Thursday, March 30, 2017 @ 15:27:27 Author: felixonmars Revision: 220105
archrelease: copy trunk to community-any Added: acorn/repos/community-any/PKGBUILD (from rev 220104, acorn/trunk/PKGBUILD) Deleted: acorn/repos/community-any/PKGBUILD ----------+ PKGBUILD | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-30 15:27:12 UTC (rev 220104) +++ PKGBUILD 2017-03-30 15:27:27 UTC (rev 220105) @@ -1,23 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=acorn -pkgver=5.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=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('7973ee31563976b6126bd4fd552d32cfd437c738a55a3234c7c7177985060526b1d102d6b878d57c38fc3dc172e7d95559010310898786a4f43c9c13935e9a04') - -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/" -} Copied: acorn/repos/community-any/PKGBUILD (from rev 220104, acorn/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-30 15:27:27 UTC (rev 220105) @@ -0,0 +1,23 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=acorn +pkgver=5.0.2 +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) +sha512sums=('36c8ca6761d8eaf1a617bb702d01892afbb215948e315484e89634fe9205630ea3b96c105561a4b9f9c19d4e2a3480422d66b30ec214c228bf532de6155f8413') + +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/" +}