Date: Sunday, January 21, 2018 @ 16:04:42 Author: felixonmars Revision: 284575
archrelease: copy trunk to community-any Added: uglify-js/repos/community-any/PKGBUILD (from rev 284574, uglify-js/trunk/PKGBUILD) uglify-js/repos/community-any/uglify-js.install (from rev 284574, 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 2018-01-21 16:04:21 UTC (rev 284574) +++ PKGBUILD 2018-01-21 16:04:42 UTC (rev 284575) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Nagy <danielnagy at gmx de> - -pkgname=uglify-js -pkgver=3.3.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=('7ac248a4d4080b8e04152adb7853e18971f2d8727e7537279f465d927fb999eb8bb2fa15d261497df2a5c9eccd2081cd7e117436981b89fca009f13202880885') - -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 284574, uglify-js/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-21 16:04:42 UTC (rev 284575) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Nagy <danielnagy at gmx de> + +pkgname=uglify-js +pkgver=3.3.8 +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=('5f48c01ada52651b5de1185b54db861f28d935afe1d8cad590aad1dc4c3988bd8c270e9dec598191ef9f8550802d6c92bf5ca01e78e344e1b5288d4500fbdd77') + +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 2018-01-21 16:04:21 UTC (rev 284574) +++ uglify-js.install 2018-01-21 16:04:42 UTC (rev 284575) @@ -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 284574, uglify-js/trunk/uglify-js.install) =================================================================== --- uglify-js.install (rev 0) +++ uglify-js.install 2018-01-21 16:04:42 UTC (rev 284575) @@ -0,0 +1,8 @@ +post_install() { + # fixup permissions + chmod 755 /usr/lib/node_modules +} + +post_upgrade() { + post_install +}