Date: Tuesday, December 26, 2017 @ 08:01:46 Author: felixonmars Revision: 276090
archrelease: copy trunk to community-any Added: uglify-js/repos/community-any/PKGBUILD (from rev 276089, uglify-js/trunk/PKGBUILD) uglify-js/repos/community-any/uglify-js.install (from rev 276089, 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-12-26 08:01:29 UTC (rev 276089) +++ PKGBUILD 2017-12-26 08:01:46 UTC (rev 276090) @@ -1,29 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Nagy <danielnagy at gmx de> - -pkgname=uglify-js -pkgver=3.3.1 -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=('7f624b354adbf4f027c71361d02c14a1810889450e42474ec6a0e47efad26e8b78cc9ef2f9d6b5b1f36a660e6d2a16a67e3e560d4d8102344111c2ca4599b648') - -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 276089, uglify-js/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-26 08:01:46 UTC (rev 276090) @@ -0,0 +1,29 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Nagy <danielnagy at gmx de> + +pkgname=uglify-js +pkgver=3.3.2 +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=('b99a7681db857d90c37f1d2220099f2a045300d0a8a167058e71662769fcc7ff91a41364f7b95a7351d4e70bd9c5664205bc07993143a5602c1212a7429b0cd8') + +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-12-26 08:01:29 UTC (rev 276089) +++ uglify-js.install 2017-12-26 08:01:46 UTC (rev 276090) @@ -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 276089, uglify-js/trunk/uglify-js.install) =================================================================== --- uglify-js.install (rev 0) +++ uglify-js.install 2017-12-26 08:01:46 UTC (rev 276090) @@ -0,0 +1,8 @@ +post_install() { + # fixup permissions + chmod 755 /usr/lib/node_modules +} + +post_upgrade() { + post_install +}