Date: Friday, August 10, 2018 @ 05:05:18 Author: felixonmars Revision: 370700
archrelease: copy trunk to community-any Added: uglify-js/repos/community-any/PKGBUILD (from rev 370698, uglify-js/trunk/PKGBUILD) uglify-js/repos/community-any/uglify-js.install (from rev 370698, uglify-js/trunk/uglify-js.install) Deleted: uglify-js/repos/community-any/PKGBUILD uglify-js/repos/community-any/uglify-js.install -------------------+ PKGBUILD | 56 ++++++++++++++++++++++++++-------------------------- uglify-js.install | 16 +++++++------- 2 files changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-10 05:05:16 UTC (rev 370699) +++ PKGBUILD 2018-08-10 05:05:18 UTC (rev 370700) @@ -1,28 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Nagy <danielnagy at gmx de> - -pkgname=uglify-js -pkgver=3.4.6 -pkgrel=1 -pkgdesc="JavaScript parser, mangler/compressor and beautifier toolkit" -arch=('any') -url='http://lisperator.net/uglifyjs' -license=('BSD') -depends=('nodejs') -makedepends=('npm') -install=${pkgname}.install -source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('3b50fb2fa59c3b34b5a96d9e868a449b87169b9c80e9b401a33964b3c8cef0e0f1602cb8ceff9b47f95ae0bc29d35b6991818da279e95ef52962daef4aef18ce') - -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/uglify-js/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" - - # Fix npm derp - find "$pkgdir/usr" -type d -exec chmod 755 '{}' + -} - -# vim:set ts=2 sw=2 et: Copied: uglify-js/repos/community-any/PKGBUILD (from rev 370698, uglify-js/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-10 05:05:18 UTC (rev 370700) @@ -0,0 +1,28 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Nagy <danielnagy at gmx de> + +pkgname=uglify-js +pkgver=3.4.7 +pkgrel=1 +pkgdesc="JavaScript parser, mangler/compressor and beautifier toolkit" +arch=('any') +url='http://lisperator.net/uglifyjs' +license=('BSD') +depends=('nodejs') +makedepends=('npm') +install=${pkgname}.install +source=(https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +sha512sums=('2743368b599003ecdedc474df52062ef9d4335d01799e14b7c9addfcc0c89117371b719b6fd38f552c7b18842f5707d6c500117185760d3c4890cc83024de8f5') + +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/uglify-js/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/" + + # Fix npm derp + find "$pkgdir/usr" -type d -exec chmod 755 '{}' + +} + +# vim:set ts=2 sw=2 et: Deleted: uglify-js.install =================================================================== --- uglify-js.install 2018-08-10 05:05:16 UTC (rev 370699) +++ uglify-js.install 2018-08-10 05:05:18 UTC (rev 370700) @@ -1,8 +0,0 @@ -post_install() { - # fixup permissions - chmod 755 /usr/lib/node_modules -} - -post_upgrade() { - post_install -} Copied: uglify-js/repos/community-any/uglify-js.install (from rev 370698, uglify-js/trunk/uglify-js.install) =================================================================== --- uglify-js.install (rev 0) +++ uglify-js.install 2018-08-10 05:05:18 UTC (rev 370700) @@ -0,0 +1,8 @@ +post_install() { + # fixup permissions + chmod 755 /usr/lib/node_modules +} + +post_upgrade() { + post_install +}