Date: Wednesday, March 29, 2017 @ 02:05:02 Author: felixonmars Revision: 219766
archrelease: copy trunk to community-any Added: uglify-js/repos/community-any/PKGBUILD (from rev 219765, uglify-js/trunk/PKGBUILD) uglify-js/repos/community-any/uglify-js.install (from rev 219765, uglify-js/trunk/uglify-js.install) Deleted: uglify-js/repos/community-any/PKGBUILD uglify-js/repos/community-any/uglify-js.install -------------------+ PKGBUILD | 58 ++++++++++++++++++++++++++-------------------------- uglify-js.install | 16 +++++++------- 2 files changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-03-29 02:04:31 UTC (rev 219765) +++ PKGBUILD 2017-03-29 02:05:02 UTC (rev 219766) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Nagy <danielnagy at gmx de> - -pkgname=uglify-js -pkgver=2.8.16 -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=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) -noextract=($pkgname-$pkgver.tgz) -sha512sums=('40d509dc67cc42ad51985302d2e7975cf58ed1f2b672cea5e9cf0c3f297122dd30f8c124868f997f20497d942a29217514b3a04aea3f7f354bb519e6af5d170a') - -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/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 219765, uglify-js/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-03-29 02:05:02 UTC (rev 219766) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Nagy <danielnagy at gmx de> + +pkgname=uglify-js +pkgver=2.8.18 +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=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz) +noextract=($pkgname-$pkgver.tgz) +sha512sums=('ea8653243e91f80d93e1558d4e4dba83b1f4928fef1e8653ef06c6f3491f63fdb0f05b4f4b9ad2fbecc94169dba40a6d842181f6d13ee776a3a426fc66897541') + +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/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 2017-03-29 02:04:31 UTC (rev 219765) +++ uglify-js.install 2017-03-29 02:05:02 UTC (rev 219766) @@ -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 219765, uglify-js/trunk/uglify-js.install) =================================================================== --- uglify-js.install (rev 0) +++ uglify-js.install 2017-03-29 02:05:02 UTC (rev 219766) @@ -0,0 +1,8 @@ +post_install() { + # fixup permissions + chmod 755 /usr/lib/node_modules +} + +post_upgrade() { + post_install +}