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

Levente Polyak anthraxx at archlinux.org
Wed Oct 26 01:23:42 UTC 2016


    Date: Wednesday, October 26, 2016 @ 01:23:41
  Author: anthraxx
Revision: 193385

archrelease: copy trunk to community-any

Added:
  uglify-js/repos/community-any/PKGBUILD
    (from rev 193384, uglify-js/trunk/PKGBUILD)
  uglify-js/repos/community-any/uglify-js.install
    (from rev 193384, uglify-js/trunk/uglify-js.install)
Deleted:
  uglify-js/repos/community-any/PKGBUILD

-------------------+
 PKGBUILD          |   51 ++++++++++++++++++++++++++-------------------------
 uglify-js.install |    8 ++++++++
 2 files changed, 34 insertions(+), 25 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-26 01:23:12 UTC (rev 193384)
+++ PKGBUILD	2016-10-26 01:23:41 UTC (rev 193385)
@@ -1,25 +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')
-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 193384, uglify-js/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-26 01:23:41 UTC (rev 193385)
@@ -0,0 +1,26 @@
+# $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/uglify-js.install (from rev 193384, uglify-js/trunk/uglify-js.install)
===================================================================
--- uglify-js.install	                        (rev 0)
+++ uglify-js.install	2016-10-26 01:23:41 UTC (rev 193385)
@@ -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