[arch-commits] Commit in uglify-js/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Sun Dec 3 14:29:21 UTC 2017
Date: Sunday, December 3, 2017 @ 14:29:20
Author: felixonmars
Revision: 271999
archrelease: copy trunk to community-any
Added:
uglify-js/repos/community-any/PKGBUILD
(from rev 271998, uglify-js/trunk/PKGBUILD)
uglify-js/repos/community-any/uglify-js.install
(from rev 271998, uglify-js/trunk/uglify-js.install)
Deleted:
uglify-js/repos/community-any/PKGBUILD
uglify-js/repos/community-any/uglify-js.install
-------------------+
PKGBUILD | 58 ++++++++++++++++++++++++++--------------------------
uglify-js.install | 16 +++++++-------
2 files changed, 37 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-03 14:28:55 UTC (rev 271998)
+++ PKGBUILD 2017-12-03 14:29:20 UTC (rev 271999)
@@ -1,29 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-
-pkgname=uglify-js
-pkgver=3.2.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=('2fdf03953b21a0f1a764617ca6bdcca04f820a8ea7f63a24b4734730f91c91e055f314d5738096b42d24186850b08be75f6520e275c54c0784ed2a53acf5f6b6')
-
-package() {
- npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
- rm -r "$pkgdir"/usr/etc
- mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
- ln -s "../../../lib/node_modules/uglify-js/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
-
- # Fix npm derp
- find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
-}
-
-# vim:set ts=2 sw=2 et:
Copied: uglify-js/repos/community-any/PKGBUILD (from rev 271998, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-03 14:29:20 UTC (rev 271999)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=uglify-js
+pkgver=3.2.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=('06165324f98e28f4947239f1da795f68e40a1cbca38d3e07172cc5585d41504af1f649c9369756f78aa5e68f2a57178d2fef080168c48e73ef0121f6c999e432')
+
+package() {
+ npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+ rm -r "$pkgdir"/usr/etc
+ mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
+ ln -s "../../../lib/node_modules/uglify-js/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
+
+ # Fix npm derp
+ find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: uglify-js.install
===================================================================
--- uglify-js.install 2017-12-03 14:28:55 UTC (rev 271998)
+++ uglify-js.install 2017-12-03 14:29:20 UTC (rev 271999)
@@ -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 271998, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install (rev 0)
+++ uglify-js.install 2017-12-03 14:29:20 UTC (rev 271999)
@@ -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