Date: Wednesday, April 24, 2019 @ 14:28:44 Author: felixonmars Revision: 453347
archrelease: copy trunk to community-any Added: uglify-js/repos/community-any/PKGBUILD (from rev 453346, uglify-js/trunk/PKGBUILD) uglify-js/repos/community-any/uglify-js.install (from rev 453346, uglify-js/trunk/uglify-js.install) Deleted: uglify-js/repos/community-any/PKGBUILD uglify-js/repos/community-any/uglify-js.install -------------------+ PKGBUILD | 54 ++++++++++++++++++++++++++-------------------------- uglify-js.install | 16 +++++++-------- 2 files changed, 35 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-24 14:28:15 UTC (rev 453346) +++ PKGBUILD 2019-04-24 14:28:44 UTC (rev 453347) @@ -1,27 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Nagy <danielnagy at gmx de> - -pkgname=uglify-js -pkgver=3.5.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=('6032915fc17463e26becb868564d27e06ee5b51dd8eea1408fe0ed541b6194e8027088f58723228027e8bac55f9fd1ca9af27eaa21652c3c1a1f1e38fdee592b') - -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 453346, uglify-js/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-24 14:28:44 UTC (rev 453347) @@ -0,0 +1,27 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Nagy <danielnagy at gmx de> + +pkgname=uglify-js +pkgver=3.5.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=('182809c77041b9a7ff40cbc10648681c3878495b07082dc82c4ceb88fc38160249282bb15414982d19039664f7ba15f21962acdd5379af49829012196875aedf') + +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 2019-04-24 14:28:15 UTC (rev 453346) +++ uglify-js.install 2019-04-24 14:28:44 UTC (rev 453347) @@ -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 453346, uglify-js/trunk/uglify-js.install) =================================================================== --- uglify-js.install (rev 0) +++ uglify-js.install 2019-04-24 14:28:44 UTC (rev 453347) @@ -0,0 +1,8 @@ +post_install() { + # fixup permissions + chmod 755 /usr/lib/node_modules +} + +post_upgrade() { + post_install +}