[arch-commits] Commit in uglify-js/repos/community-any (4 files)

Felix Yan felixonmars at archlinux.org
Mon Apr 13 20:35:53 UTC 2020


    Date: Monday, April 13, 2020 @ 20:35:52
  Author: felixonmars
Revision: 613720

archrelease: copy trunk to community-any

Added:
  uglify-js/repos/community-any/PKGBUILD
    (from rev 613719, uglify-js/trunk/PKGBUILD)
  uglify-js/repos/community-any/uglify-js.install
    (from rev 613719, uglify-js/trunk/uglify-js.install)
Deleted:
  uglify-js/repos/community-any/PKGBUILD
  uglify-js/repos/community-any/uglify-js.install

-------------------+
 PKGBUILD          |   64 ++++++++++++++++++++++++++--------------------------
 uglify-js.install |   16 ++++++-------
 2 files changed, 40 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-13 20:35:33 UTC (rev 613719)
+++ PKGBUILD	2020-04-13 20:35:52 UTC (rev 613720)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-
-pkgname=uglify-js
-pkgver=3.8.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=('5bb2b1cb379a42666f5056c68f8f9816c86156b30119283621b7180231961afc7c0c7bc931c95b4c33297df77115418f0478c8cad93b289511fca517b2d5060f')
-
-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/"
-
-  # Non-deterministic race in npm gives 777 permissions to random directories.
-  # See https://github.com/npm/npm/issues/9359 for details.
-  chmod -R u=rwX,go=rX "$pkgdir"
-
-  # npm installs package.json owned by build user
-  # https://bugs.archlinux.org/task/63396
-  chown -R root:root "$pkgdir"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: uglify-js/repos/community-any/PKGBUILD (from rev 613719, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-13 20:35:52 UTC (rev 613720)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=uglify-js
+pkgver=3.9.0
+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=('8f9c0d40159aaa5f20af4e9d394adf6a884796c71ba1067d07cb0db282b9a38b018e6ec7b7d77149bacc5f292d429035e8071a8a3f00728a33b5e68f61938dd2')
+
+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/"
+
+  # Non-deterministic race in npm gives 777 permissions to random directories.
+  # See https://github.com/npm/npm/issues/9359 for details.
+  chmod -R u=rwX,go=rX "$pkgdir"
+
+  # npm installs package.json owned by build user
+  # https://bugs.archlinux.org/task/63396
+  chown -R root:root "$pkgdir"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: uglify-js.install
===================================================================
--- uglify-js.install	2020-04-13 20:35:33 UTC (rev 613719)
+++ uglify-js.install	2020-04-13 20:35:52 UTC (rev 613720)
@@ -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 613719, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install	                        (rev 0)
+++ uglify-js.install	2020-04-13 20:35:52 UTC (rev 613720)
@@ -0,0 +1,8 @@
+post_install() {
+  # fixup permissions
+  chmod 755 /usr/lib/node_modules
+}
+
+post_upgrade() {
+  post_install
+}


More information about the arch-commits mailing list