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

Felix Yan felixonmars at archlinux.org
Tue Jan 7 09:44:16 UTC 2020


    Date: Tuesday, January 7, 2020 @ 09:44:16
  Author: felixonmars
Revision: 549815

archrelease: copy trunk to community-any

Added:
  uglify-js/repos/community-any/PKGBUILD
    (from rev 549814, uglify-js/trunk/PKGBUILD)
  uglify-js/repos/community-any/uglify-js.install
    (from rev 549814, 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-01-07 09:44:06 UTC (rev 549814)
+++ PKGBUILD	2020-01-07 09:44:16 UTC (rev 549815)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-
-pkgname=uglify-js
-pkgver=3.7.3
-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=('eed20d9b8ebfde9b9403884290a628e1776db3e2436950bd64f45c1bc5f0f51e2784efe066050cdd310dabc205e156ad93ca828a0e0cccffdcf06e2ed8191542')
-
-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 549814, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-07 09:44:16 UTC (rev 549815)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=uglify-js
+pkgver=3.7.4
+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=('b629d8584f17d507c21f14b59414bcca20de9328525ce3ba47aeb234e09d5097a88f1c70f8f5f6047033fc15b25bb3d0ee9922595c497c811b883c722d6bd41a')
+
+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-01-07 09:44:06 UTC (rev 549814)
+++ uglify-js.install	2020-01-07 09:44:16 UTC (rev 549815)
@@ -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 549814, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install	                        (rev 0)
+++ uglify-js.install	2020-01-07 09:44:16 UTC (rev 549815)
@@ -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