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

Felix Yan felixonmars at archlinux.org
Sat Jun 5 15:01:57 UTC 2021


    Date: Saturday, June 5, 2021 @ 15:01:57
  Author: felixonmars
Revision: 956068

archrelease: copy trunk to community-any

Added:
  uglify-js/repos/community-any/PKGBUILD
    (from rev 956067, uglify-js/trunk/PKGBUILD)
  uglify-js/repos/community-any/uglify-js.install
    (from rev 956067, 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	2021-06-05 15:01:38 UTC (rev 956067)
+++ PKGBUILD	2021-06-05 15:01:57 UTC (rev 956068)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-
-pkgname=uglify-js
-pkgver=3.13.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=('3ef14b3052101df22314596f01c87af54d88bc8c4af53373356b754b1646a7d259fefef4cafa8842e8897953cfb5430ece836df9a3510e4e308316f7e30bc4a8')
-
-package() {
-  npm install -g --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 956067, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-06-05 15:01:57 UTC (rev 956068)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=uglify-js
+pkgver=3.13.9
+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=('c196f24d0d70e98edf1ddb7cb099c77d222e59e0e093a079ac26f813f00ce9034d3db38c219a61db53d6e5d441de1ec37f41acccdfaded1b941fab162b96c5d2')
+
+package() {
+  npm install -g --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	2021-06-05 15:01:38 UTC (rev 956067)
+++ uglify-js.install	2021-06-05 15:01:57 UTC (rev 956068)
@@ -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 956067, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install	                        (rev 0)
+++ uglify-js.install	2021-06-05 15:01:57 UTC (rev 956068)
@@ -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