[arch-commits] Commit in uglify-js/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Wed May 19 12:40:05 UTC 2021
Date: Wednesday, May 19, 2021 @ 12:40:05
Author: felixonmars
Revision: 936418
archrelease: copy trunk to community-any
Added:
uglify-js/repos/community-any/PKGBUILD
(from rev 936417, uglify-js/trunk/PKGBUILD)
uglify-js/repos/community-any/uglify-js.install
(from rev 936417, 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-05-19 12:39:47 UTC (rev 936417)
+++ PKGBUILD 2021-05-19 12:40:05 UTC (rev 936418)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-
-pkgname=uglify-js
-pkgver=3.13.6
-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=('ad1a6b2f097c455692f90bf1dd687984f7cf067f7ef86eb1906954ba9c9ad2ce5a0e636323bcf796744b077bbbb0de0e99b074a5683384cf41109ca2580c2d00')
-
-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 936417, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-19 12:40:05 UTC (rev 936418)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=uglify-js
+pkgver=3.13.7
+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=('d4fb22d8c9a76496e712c80924895f9ddeed16525f8adbac991ef30c8f255e5148d00083e3f466ff176b53c6e1eb31748bbe1a895a01b6446216e964ae687700')
+
+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-05-19 12:39:47 UTC (rev 936417)
+++ uglify-js.install 2021-05-19 12:40:05 UTC (rev 936418)
@@ -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 936417, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install (rev 0)
+++ uglify-js.install 2021-05-19 12:40:05 UTC (rev 936418)
@@ -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