[arch-commits] Commit in uglify-js/repos/community-any (4 files)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Dec 13 11:31:39 UTC 2021
Date: Monday, December 13, 2021 @ 11:31:39
Author: felixonmars
Revision: 1071514
archrelease: copy trunk to community-any
Added:
uglify-js/repos/community-any/PKGBUILD
(from rev 1071513, uglify-js/trunk/PKGBUILD)
uglify-js/repos/community-any/uglify-js.install
(from rev 1071513, 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-12-13 11:31:30 UTC (rev 1071513)
+++ PKGBUILD 2021-12-13 11:31:39 UTC (rev 1071514)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-
-pkgname=uglify-js
-pkgver=3.14.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=('01b892478e09d06a02795f35fa8c5ccbf8c338494ed81c7777431f40251286aec945768ce0ab50a2966cab6bc5bfc6c2ab6c8c686af0d45832814774dd1c910c')
-
-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 1071513, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-13 11:31:39 UTC (rev 1071514)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=uglify-js
+pkgver=3.14.5
+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=('a99ba4a12c4e1b4bab513be3736111313700cbe062161df07960247aeacbc23ac26daef7a681e61b7137e9712377f246ba4333c132fbb82c598807b18fca69bd')
+
+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-12-13 11:31:30 UTC (rev 1071513)
+++ uglify-js.install 2021-12-13 11:31:39 UTC (rev 1071514)
@@ -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 1071513, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install (rev 0)
+++ uglify-js.install 2021-12-13 11:31:39 UTC (rev 1071514)
@@ -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