[arch-commits] Commit in uglify-js/repos/community-any (4 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 30 04:34:36 UTC 2016
Date: Wednesday, November 30, 2016 @ 04:34:35
Author: felixonmars
Revision: 197411
archrelease: copy trunk to community-any
Added:
uglify-js/repos/community-any/PKGBUILD
(from rev 197410, uglify-js/trunk/PKGBUILD)
uglify-js/repos/community-any/uglify-js.install
(from rev 197410, uglify-js/trunk/uglify-js.install)
Deleted:
uglify-js/repos/community-any/PKGBUILD
uglify-js/repos/community-any/uglify-js.install
-------------------+
PKGBUILD | 55 +++++++++++++++++++++++++++-------------------------
uglify-js.install | 16 +++++++--------
2 files changed, 37 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-30 04:34:18 UTC (rev 197410)
+++ PKGBUILD 2016-11-30 04:34:35 UTC (rev 197411)
@@ -1,26 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Nagy <danielnagy at gmx de>
-
-pkgname=uglify-js
-pkgver=2.7.4
-pkgrel=2
-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=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
-noextract=($pkgname-$pkgver.tgz)
-md5sums=('c6be07d1fd8ae19e2a66ccdd4fb9eac9')
-
-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/"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: uglify-js/repos/community-any/PKGBUILD (from rev 197410, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-11-30 04:34:35 UTC (rev 197411)
@@ -0,0 +1,29 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Nagy <danielnagy at gmx de>
+
+pkgname=uglify-js
+pkgver=2.7.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=(http://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz)
+noextract=($pkgname-$pkgver.tgz)
+md5sums=('99b49c72db5892196dd95dfa1fcbf067')
+
+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 2016-11-30 04:34:18 UTC (rev 197410)
+++ uglify-js.install 2016-11-30 04:34:35 UTC (rev 197411)
@@ -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 197410, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install (rev 0)
+++ uglify-js.install 2016-11-30 04:34:35 UTC (rev 197411)
@@ -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